summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/389-dsgw/389-dsgw-1.1.10.ebuild47
-rw-r--r--www-apps/389-dsgw/Manifest1
-rw-r--r--www-apps/389-dsgw/metadata.xml10
-rw-r--r--www-apps/Apache-Gallery/Apache-Gallery-1.0_rc3.ebuild61
-rw-r--r--www-apps/Apache-Gallery/Manifest1
-rw-r--r--www-apps/Apache-Gallery/files/76_apache2-gallery.conf40
-rw-r--r--www-apps/Apache-Gallery/files/postinstall-en.txt2
-rw-r--r--www-apps/Apache-Gallery/metadata.xml5
-rw-r--r--www-apps/agendav/Manifest1
-rw-r--r--www-apps/agendav/agendav-1.2.6.2.ebuild79
-rw-r--r--www-apps/agendav/files/postinstall-en.txt13
-rw-r--r--www-apps/agendav/metadata.xml11
-rw-r--r--www-apps/ampache/Manifest3
-rw-r--r--www-apps/ampache/ampache-3.4.3.ebuild37
-rw-r--r--www-apps/ampache/ampache-3.5.3-r1.ebuild41
-rw-r--r--www-apps/ampache/ampache-3.5.4.ebuild47
-rw-r--r--www-apps/ampache/files/installdoc.txt6
-rw-r--r--www-apps/ampache/metadata.xml8
-rw-r--r--www-apps/b2evolution/Manifest1
-rw-r--r--www-apps/b2evolution/b2evolution-4.1.7.ebuild47
-rw-r--r--www-apps/b2evolution/files/postinstall-en.txt17
-rw-r--r--www-apps/b2evolution/files/postupgrade-en.txt6
-rw-r--r--www-apps/b2evolution/metadata.xml8
-rw-r--r--www-apps/baikal/Manifest2
-rw-r--r--www-apps/baikal/baikal-0.2.4.ebuild52
-rw-r--r--www-apps/baikal/baikal-0.2.7.ebuild56
-rw-r--r--www-apps/baikal/files/postinstall-en.txt4
-rw-r--r--www-apps/baikal/metadata.xml8
-rw-r--r--www-apps/bitten/Manifest1
-rw-r--r--www-apps/bitten/bitten-0.6-r1.ebuild50
-rw-r--r--www-apps/bitten/files/bitten.confd19
-rw-r--r--www-apps/bitten/files/bitten.initd20
-rw-r--r--www-apps/bitten/metadata.xml8
-rw-r--r--www-apps/blazeblogger/Manifest2
-rw-r--r--www-apps/blazeblogger/blazeblogger-1.2.0-r1.ebuild35
-rw-r--r--www-apps/blazeblogger/blazeblogger-1.2.0.ebuild30
-rw-r--r--www-apps/blazeblogger/files/blazeblogger-1.2.0-bash-completion.patch83
-rw-r--r--www-apps/blazeblogger/metadata.xml11
-rw-r--r--www-apps/blohg-tumblelog/Manifest1
-rw-r--r--www-apps/blohg-tumblelog/blohg-tumblelog-0.2.ebuild33
-rw-r--r--www-apps/blohg-tumblelog/blohg-tumblelog-9999.ebuild33
-rw-r--r--www-apps/blohg-tumblelog/metadata.xml20
-rw-r--r--www-apps/blohg/Manifest1
-rw-r--r--www-apps/blohg/blohg-0.13.ebuild83
-rw-r--r--www-apps/blohg/blohg-9999.ebuild83
-rw-r--r--www-apps/blohg/metadata.xml27
-rw-r--r--www-apps/browser-config/Manifest1
-rw-r--r--www-apps/browser-config/browser-config-1.1.ebuild35
-rw-r--r--www-apps/browser-config/metadata.xml8
-rw-r--r--www-apps/bugzilla/Manifest3
-rw-r--r--www-apps/bugzilla/bugzilla-4.0.15.ebuild142
-rw-r--r--www-apps/bugzilla/bugzilla-4.2.11.ebuild142
-rw-r--r--www-apps/bugzilla/bugzilla-4.4.6.ebuild142
-rw-r--r--www-apps/bugzilla/files/4.0/bugzilla-queue.confd4
-rw-r--r--www-apps/bugzilla/files/4.0/bugzilla-queue.initd39
-rw-r--r--www-apps/bugzilla/files/4.0/bugzilla.cron.daily5
-rw-r--r--www-apps/bugzilla/files/4.0/bugzilla.cron.tab1
-rw-r--r--www-apps/bugzilla/files/4.0/postinstall-en.txt13
-rw-r--r--www-apps/bugzilla/files/4.0/reconfig19
-rw-r--r--www-apps/bugzilla/metadata.xml20
-rw-r--r--www-apps/cgisysinfo/Manifest1
-rw-r--r--www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild36
-rw-r--r--www-apps/cgisysinfo/metadata.xml17
-rw-r--r--www-apps/cgit/Manifest8
-rw-r--r--www-apps/cgit/cgit-0.10.1.ebuild94
-rw-r--r--www-apps/cgit/cgit-0.10.2.ebuild94
-rw-r--r--www-apps/cgit/cgit-0.11.1-r1.ebuild94
-rw-r--r--www-apps/cgit/cgit-0.11.2.ebuild94
-rw-r--r--www-apps/cgit/cgit-9999.ebuild92
-rw-r--r--www-apps/cgit/files/cgitrc130
-rw-r--r--www-apps/cgit/files/postinstall-en.txt45
-rw-r--r--www-apps/cgit/metadata.xml22
-rw-r--r--www-apps/collectd-web/Manifest1
-rw-r--r--www-apps/collectd-web/collectd-web-0.4.0.ebuild44
-rw-r--r--www-apps/collectd-web/metadata.xml8
-rw-r--r--www-apps/coppermine/Manifest1
-rw-r--r--www-apps/coppermine/coppermine-1.5.20.ebuild41
-rw-r--r--www-apps/coppermine/files/postinstall-en.txt14
-rw-r--r--www-apps/coppermine/metadata.xml8
-rw-r--r--www-apps/curator/Manifest1
-rw-r--r--www-apps/curator/curator-3.0_p20110120.ebuild39
-rw-r--r--www-apps/curator/metadata.xml9
-rw-r--r--www-apps/cvsweb/Manifest3
-rw-r--r--www-apps/cvsweb/cvsweb-1.112.ebuild37
-rw-r--r--www-apps/cvsweb/cvsweb-3.0.5.ebuild39
-rw-r--r--www-apps/cvsweb/cvsweb-3.0.6-r1.ebuild45
-rw-r--r--www-apps/cvsweb/cvsweb-3.0.6.ebuild39
-rw-r--r--www-apps/cvsweb/files/cvsweb-3.0.6-perl518.patch25
-rw-r--r--www-apps/cvsweb/files/postinstall-en.txt1
-rw-r--r--www-apps/cvsweb/files/reconfig15
-rw-r--r--www-apps/cvsweb/metadata.xml5
-rw-r--r--www-apps/davical/Manifest4
-rw-r--r--www-apps/davical/davical-1.0.2-r2.ebuild72
-rw-r--r--www-apps/davical/davical-1.1.0-r1.ebuild73
-rw-r--r--www-apps/davical/davical-1.1.1-r2.ebuild71
-rw-r--r--www-apps/davical/davical-1.1.3.1-r2.ebuild73
-rw-r--r--www-apps/davical/files/awl-locations.patch93
-rw-r--r--www-apps/davical/files/awl_location.patch21
-rw-r--r--www-apps/davical/files/inc_path.patch28
-rw-r--r--www-apps/davical/files/postinstall-en.txt18
-rw-r--r--www-apps/davical/files/vhost-example16
-rw-r--r--www-apps/davical/metadata.xml8
-rw-r--r--www-apps/dokuwiki/Manifest2
-rw-r--r--www-apps/dokuwiki/dokuwiki-20140505e.ebuild68
-rw-r--r--www-apps/dokuwiki/dokuwiki-20140929d-r1.ebuild68
-rw-r--r--www-apps/dokuwiki/dokuwiki-20140929d.ebuild68
-rw-r--r--www-apps/dokuwiki/files/postinstall-en.txt52
-rw-r--r--www-apps/dokuwiki/metadata.xml17
-rw-r--r--www-apps/dotproject/Manifest1
-rw-r--r--www-apps/dotproject/dotproject-2.1.7-r1.ebuild46
-rw-r--r--www-apps/dotproject/files/dotproject-2.1.7-pear-date.patch39
-rw-r--r--www-apps/dotproject/files/install-en.txt17
-rw-r--r--www-apps/dotproject/metadata.xml8
-rw-r--r--www-apps/dragonflycms/Manifest1
-rw-r--r--www-apps/dragonflycms/dragonflycms-9.3.3.1.ebuild53
-rw-r--r--www-apps/dragonflycms/files/postinstall-en.txt24
-rw-r--r--www-apps/dragonflycms/metadata.xml13
-rw-r--r--www-apps/drraw/Manifest2
-rw-r--r--www-apps/drraw/drraw-2.0.1.ebuild50
-rw-r--r--www-apps/drraw/drraw-2.1.3.ebuild50
-rw-r--r--www-apps/drraw/files/postinstall-en.txt3
-rw-r--r--www-apps/drraw/metadata.xml5
-rw-r--r--www-apps/drupal/Manifest3
-rw-r--r--www-apps/drupal/drupal-6.36.ebuild63
-rw-r--r--www-apps/drupal/drupal-7.38.ebuild75
-rw-r--r--www-apps/drupal/drupal-8.0.0_beta11.ebuild87
-rw-r--r--www-apps/drupal/files/postinstall-en.txt25
-rw-r--r--www-apps/drupal/metadata.xml9
-rw-r--r--www-apps/dspam-web/Manifest1
-rw-r--r--www-apps/dspam-web/dspam-web-3.10.1.ebuild71
-rw-r--r--www-apps/dspam-web/files/postinst-en.txt32
-rw-r--r--www-apps/dspam-web/files/setperms9
-rw-r--r--www-apps/dspam-web/metadata.xml6
-rw-r--r--www-apps/egroupware/Manifest3
-rw-r--r--www-apps/egroupware/egroupware-1.8.004.20120613.ebuild81
-rw-r--r--www-apps/egroupware/files/postinstall-en-1.2.txt12
-rw-r--r--www-apps/egroupware/metadata.xml12
-rw-r--r--www-apps/eyeos/Manifest1
-rw-r--r--www-apps/eyeos/eyeos-2.5.ebuild47
-rw-r--r--www-apps/eyeos/metadata.xml12
-rw-r--r--www-apps/freeradius-dialupadmin/Manifest2
-rw-r--r--www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.70.3-sqldebug.patch11
-rw-r--r--www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.80-gentoo.patch32
-rw-r--r--www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.80-tmpfile.patch148
-rw-r--r--www-apps/freeradius-dialupadmin/files/setrootpath6
-rw-r--r--www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.70.3.ebuild82
-rw-r--r--www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.80.ebuild81
-rw-r--r--www-apps/freeradius-dialupadmin/metadata.xml12
-rw-r--r--www-apps/gallery/Manifest2
-rw-r--r--www-apps/gallery/files/postinstall-en.txt24
-rwxr-xr-xwww-apps/gallery/files/postinstall-en2.txt27
-rw-r--r--www-apps/gallery/files/postupgrade-en.txt19
-rw-r--r--www-apps/gallery/gallery-2.3.2.ebuild61
-rw-r--r--www-apps/gallery/gallery-3.0.9.ebuild86
-rw-r--r--www-apps/gallery/metadata.xml29
-rw-r--r--www-apps/gitit/Manifest5
-rw-r--r--www-apps/gitit/files/gitit-0.10.3.1-pandoc-1.12.patch129
-rw-r--r--www-apps/gitit/files/gitit-0.10.3.1-tagsoup-0.13.patch22
-rw-r--r--www-apps/gitit/files/gitit-0.10.6.2-ghc-7.10.patch47
-rw-r--r--www-apps/gitit/gitit-0.10.3.1-r3.ebuild79
-rw-r--r--www-apps/gitit/gitit-0.10.6.1-r4.ebuild78
-rw-r--r--www-apps/gitit/gitit-0.10.6.2.ebuild74
-rw-r--r--www-apps/gitit/gitit-0.11.1.ebuild72
-rw-r--r--www-apps/gitit/gitit-0.11.ebuild72
-rw-r--r--www-apps/gitit/metadata.xml44
-rw-r--r--www-apps/gnopaste/Manifest1
-rw-r--r--www-apps/gnopaste/files/postinstall-en-0.5.5.txt4
-rw-r--r--www-apps/gnopaste/gnopaste-0.5.5.ebuild40
-rw-r--r--www-apps/gnopaste/metadata.xml8
-rw-r--r--www-apps/groupoffice/Manifest5
-rw-r--r--www-apps/groupoffice/files/postinstall2-en.txt19
-rw-r--r--www-apps/groupoffice/groupoffice-3.7.52.ebuild48
-rw-r--r--www-apps/groupoffice/groupoffice-4.0.144.ebuild48
-rw-r--r--www-apps/groupoffice/groupoffice-4.0.47.ebuild48
-rw-r--r--www-apps/groupoffice/groupoffice-4.0.97.ebuild48
-rw-r--r--www-apps/groupoffice/groupoffice-4.1.7.ebuild48
-rw-r--r--www-apps/groupoffice/metadata.xml8
-rw-r--r--www-apps/guacamole/Manifest16
-rw-r--r--www-apps/guacamole/guacamole-0.8.3.ebuild93
-rw-r--r--www-apps/guacamole/guacamole-0.9.0.ebuild93
-rw-r--r--www-apps/guacamole/guacamole-0.9.2.ebuild93
-rw-r--r--www-apps/guacamole/guacamole-0.9.3.ebuild93
-rw-r--r--www-apps/guacamole/guacamole-0.9.7.ebuild133
-rw-r--r--www-apps/guacamole/metadata.xml22
-rw-r--r--www-apps/hiawatha-monitor/Manifest3
-rw-r--r--www-apps/hiawatha-monitor/hiawatha-monitor-0.7.ebuild32
-rw-r--r--www-apps/hiawatha-monitor/hiawatha-monitor-0.8.ebuild32
-rw-r--r--www-apps/hiawatha-monitor/hiawatha-monitor-1.0.ebuild32
-rw-r--r--www-apps/hiawatha-monitor/metadata.xml10
-rw-r--r--www-apps/horde-chora/Manifest1
-rw-r--r--www-apps/horde-chora/horde-chora-2.0.2.ebuild16
-rw-r--r--www-apps/horde-chora/metadata.xml26
-rw-r--r--www-apps/horde-dimp/Manifest1
-rw-r--r--www-apps/horde-dimp/horde-dimp-1.1.5.ebuild18
-rw-r--r--www-apps/horde-dimp/metadata.xml9
-rw-r--r--www-apps/horde-gollem/Manifest1
-rw-r--r--www-apps/horde-gollem/horde-gollem-1.1.2.ebuild13
-rw-r--r--www-apps/horde-gollem/metadata.xml5
-rw-r--r--www-apps/horde-hermes/Manifest1
-rw-r--r--www-apps/horde-hermes/horde-hermes-1.0.1.ebuild13
-rw-r--r--www-apps/horde-hermes/metadata.xml8
-rw-r--r--www-apps/horde-imp/Manifest2
-rw-r--r--www-apps/horde-imp/horde-imp-4.3.8.ebuild16
-rw-r--r--www-apps/horde-imp/horde-imp-4.3.9.ebuild16
-rw-r--r--www-apps/horde-imp/metadata.xml9
-rw-r--r--www-apps/horde-ingo/Manifest3
-rw-r--r--www-apps/horde-ingo/horde-ingo-1.1.2.ebuild14
-rw-r--r--www-apps/horde-ingo/horde-ingo-1.2.3.ebuild14
-rw-r--r--www-apps/horde-ingo/horde-ingo-1.2.5.ebuild14
-rw-r--r--www-apps/horde-ingo/metadata.xml8
-rw-r--r--www-apps/horde-jeta/Manifest1
-rw-r--r--www-apps/horde-jeta/horde-jeta-1.0.ebuild13
-rw-r--r--www-apps/horde-jeta/metadata.xml5
-rw-r--r--www-apps/horde-kronolith/Manifest3
-rw-r--r--www-apps/horde-kronolith/horde-kronolith-2.1.8.ebuild14
-rw-r--r--www-apps/horde-kronolith/horde-kronolith-2.3.4.ebuild14
-rw-r--r--www-apps/horde-kronolith/horde-kronolith-2.3.5.ebuild14
-rw-r--r--www-apps/horde-kronolith/metadata.xml25
-rw-r--r--www-apps/horde-mimp/Manifest3
-rw-r--r--www-apps/horde-mimp/horde-mimp-1.0.1.ebuild16
-rw-r--r--www-apps/horde-mimp/horde-mimp-1.1.2.ebuild16
-rw-r--r--www-apps/horde-mimp/horde-mimp-1.1.3.ebuild16
-rw-r--r--www-apps/horde-mimp/metadata.xml5
-rw-r--r--www-apps/horde-mnemo/Manifest2
-rw-r--r--www-apps/horde-mnemo/horde-mnemo-2.2.3.ebuild14
-rw-r--r--www-apps/horde-mnemo/horde-mnemo-2.2.4.ebuild14
-rw-r--r--www-apps/horde-mnemo/metadata.xml8
-rw-r--r--www-apps/horde-nag/Manifest2
-rw-r--r--www-apps/horde-nag/horde-nag-2.3.4.ebuild14
-rw-r--r--www-apps/horde-nag/horde-nag-2.3.6.ebuild21
-rw-r--r--www-apps/horde-nag/metadata.xml8
-rw-r--r--www-apps/horde-passwd/Manifest1
-rw-r--r--www-apps/horde-passwd/files/horde-passwd-3.0-no-clear-password.patch13
-rw-r--r--www-apps/horde-passwd/horde-passwd-3.1.3.ebuild22
-rw-r--r--www-apps/horde-passwd/metadata.xml19
-rw-r--r--www-apps/horde-pear/horde-pear-1.3-r3.ebuild24
-rw-r--r--www-apps/horde-pear/metadata.xml12
-rw-r--r--www-apps/horde-turba/Manifest2
-rw-r--r--www-apps/horde-turba/horde-turba-2.3.4.ebuild23
-rw-r--r--www-apps/horde-turba/horde-turba-2.3.5.ebuild23
-rw-r--r--www-apps/horde-turba/metadata.xml23
-rw-r--r--www-apps/horde/Manifest2
-rw-r--r--www-apps/horde/horde-3.3.11.ebuild36
-rw-r--r--www-apps/horde/horde-3.3.9.ebuild36
-rw-r--r--www-apps/horde/metadata.xml11
-rw-r--r--www-apps/horizon/Manifest1
-rw-r--r--www-apps/horizon/horizon-2014.1.3.ebuild69
-rw-r--r--www-apps/horizon/horizon-2014.1.9999.ebuild70
-rw-r--r--www-apps/horizon/horizon-9999.ebuild65
-rw-r--r--www-apps/horizon/metadata.xml17
-rw-r--r--www-apps/ikiwiki/Manifest3
-rw-r--r--www-apps/ikiwiki/ikiwiki-3.20140227.ebuild111
-rw-r--r--www-apps/ikiwiki/ikiwiki-3.20140916.ebuild111
-rw-r--r--www-apps/ikiwiki/ikiwiki-3.20150107.ebuild111
-rw-r--r--www-apps/ikiwiki/metadata.xml17
-rw-r--r--www-apps/jekyll-coffeescript/Manifest1
-rw-r--r--www-apps/jekyll-coffeescript/jekyll-coffeescript-1.0.1.ebuild32
-rw-r--r--www-apps/jekyll-coffeescript/metadata.xml11
-rw-r--r--www-apps/jekyll-gist/Manifest1
-rw-r--r--www-apps/jekyll-gist/jekyll-gist-1.3.0.ebuild27
-rw-r--r--www-apps/jekyll-gist/metadata.xml11
-rw-r--r--www-apps/jekyll-paginate/Manifest1
-rw-r--r--www-apps/jekyll-paginate/jekyll-paginate-1.1.0.ebuild31
-rw-r--r--www-apps/jekyll-paginate/metadata.xml11
-rw-r--r--www-apps/jekyll-sass-converter/Manifest1
-rw-r--r--www-apps/jekyll-sass-converter/jekyll-sass-converter-1.3.0.ebuild29
-rw-r--r--www-apps/jekyll-sass-converter/metadata.xml11
-rw-r--r--www-apps/jekyll-sitemap/Manifest1
-rw-r--r--www-apps/jekyll-sitemap/jekyll-sitemap-0.8.1.ebuild23
-rw-r--r--www-apps/jekyll-sitemap/metadata.xml11
-rw-r--r--www-apps/jekyll-watch/Manifest1
-rw-r--r--www-apps/jekyll-watch/jekyll-watch-1.2.1.ebuild30
-rw-r--r--www-apps/jekyll-watch/metadata.xml11
-rw-r--r--www-apps/jekyll/Manifest1
-rw-r--r--www-apps/jekyll/jekyll-2.5.3.ebuild56
-rw-r--r--www-apps/jekyll/metadata.xml11
-rw-r--r--www-apps/joomla/Manifest1
-rw-r--r--www-apps/joomla/files/postinstall-en.txt29
-rw-r--r--www-apps/joomla/files/postinstall-sv.txt26
-rw-r--r--www-apps/joomla/joomla-3.4.1.ebuild51
-rw-r--r--www-apps/joomla/metadata.xml27
-rw-r--r--www-apps/kibana-bin/Manifest2
-rw-r--r--www-apps/kibana-bin/files/kibana.initd39
-rw-r--r--www-apps/kibana-bin/files/kibana.initd-r118
-rw-r--r--www-apps/kibana-bin/kibana-bin-4.0.3.ebuild39
-rw-r--r--www-apps/kibana-bin/kibana-bin-4.1.1.ebuild39
-rw-r--r--www-apps/kibana-bin/metadata.xml12
-rw-r--r--www-apps/liquid_feedback_core/Manifest3
-rw-r--r--www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch24
-rw-r--r--www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.6-gentoo.patch24
-rw-r--r--www-apps/liquid_feedback_core/files/liquid_feedback_core-3.0.4-gentoo.patch30
-rw-r--r--www-apps/liquid_feedback_core/files/postinstall-en.txt25
-rw-r--r--www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild42
-rw-r--r--www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild47
-rw-r--r--www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild42
-rw-r--r--www-apps/liquid_feedback_core/metadata.xml14
-rw-r--r--www-apps/liquid_feedback_frontend/Manifest5
-rw-r--r--www-apps/liquid_feedback_frontend/files/lqfb-apache.conf41
-rw-r--r--www-apps/liquid_feedback_frontend/files/lqfb.example.com.conf24
-rw-r--r--www-apps/liquid_feedback_frontend/files/myconfig.lua29
-rw-r--r--www-apps/liquid_feedback_frontend/files/postinstall-en.txt52
-rw-r--r--www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.2.ebuild69
-rw-r--r--www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.7.ebuild69
-rw-r--r--www-apps/liquid_feedback_frontend/liquid_feedback_frontend-3.0.6.ebuild47
-rw-r--r--www-apps/liquid_feedback_frontend/metadata.xml13
-rw-r--r--www-apps/lxr/Manifest1
-rw-r--r--www-apps/lxr/files/lxr-0.9.8-initdb-mysql.patch13
-rw-r--r--www-apps/lxr/files/postinstall-en.txt44
-rw-r--r--www-apps/lxr/files/reconfig21
-rw-r--r--www-apps/lxr/lxr-0.9.8-r1.ebuild86
-rw-r--r--www-apps/lxr/metadata.xml8
-rw-r--r--www-apps/mantisbt/Manifest1
-rw-r--r--www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch22
-rw-r--r--www-apps/mantisbt/files/postinstall-en-1.0.0.txt13
-rw-r--r--www-apps/mantisbt/mantisbt-1.2.15-r1.ebuild40
-rw-r--r--www-apps/mantisbt/metadata.xml16
-rw-r--r--www-apps/mediawiki/Manifest7
-rw-r--r--www-apps/mediawiki/files/postinstall-1.18-en.txt85
-rw-r--r--www-apps/mediawiki/files/postupgrade-1.16-en.txt44
-rw-r--r--www-apps/mediawiki/mediawiki-1.19.23.ebuild80
-rw-r--r--www-apps/mediawiki/mediawiki-1.19.24.ebuild80
-rw-r--r--www-apps/mediawiki/mediawiki-1.22.15.ebuild80
-rw-r--r--www-apps/mediawiki/mediawiki-1.23.8.ebuild80
-rw-r--r--www-apps/mediawiki/mediawiki-1.23.9.ebuild80
-rw-r--r--www-apps/mediawiki/mediawiki-1.24.1.ebuild80
-rw-r--r--www-apps/mediawiki/mediawiki-1.24.2.ebuild80
-rw-r--r--www-apps/mediawiki/metadata.xml5
-rw-r--r--www-apps/metadata.xml41
-rw-r--r--www-apps/metadot/Manifest2
-rw-r--r--www-apps/metadot/files/metadot.conf20
-rw-r--r--www-apps/metadot/files/postinstall-en-6.1.6.txt48
-rw-r--r--www-apps/metadot/files/postinstall-en-6.4_p3.txt34
-rw-r--r--www-apps/metadot/files/reconfig-6.1.65
-rw-r--r--www-apps/metadot/files/reconfig-6.4_p318
-rw-r--r--www-apps/metadot/metadata.xml5
-rw-r--r--www-apps/metadot/metadot-6.1.6.ebuild57
-rw-r--r--www-apps/metadot/metadot-6.4.5.4.ebuild71
-rw-r--r--www-apps/mirmon/Manifest1
-rw-r--r--www-apps/mirmon/files/0001-Add-rsync-monitoring-support-to-mirmon.patch87
-rw-r--r--www-apps/mirmon/files/0002-Add-ipv6-monitor-support-to-mirmon.patch41
-rw-r--r--www-apps/mirmon/metadata.xml8
-rw-r--r--www-apps/mirmon/mirmon-1.38-r4.ebuild48
-rw-r--r--www-apps/mod_survey/Manifest2
-rw-r--r--www-apps/mod_survey/files/98_mod_survey.conf115
-rw-r--r--www-apps/mod_survey/files/language-list.txt5
-rw-r--r--www-apps/mod_survey/files/postinstall-en.txt4
-rw-r--r--www-apps/mod_survey/files/reconfig17
-rw-r--r--www-apps/mod_survey/metadata.xml5
-rw-r--r--www-apps/mod_survey/mod_survey-3.2.5.ebuild103
-rw-r--r--www-apps/moinmoin/Manifest1
-rw-r--r--www-apps/moinmoin/files/postinstall-en-1.9.4.txt16
-rw-r--r--www-apps/moinmoin/files/reconfig-1.9.417
-rw-r--r--www-apps/moinmoin/metadata.xml5
-rw-r--r--www-apps/moinmoin/moinmoin-1.9.7-r1.ebuild108
-rw-r--r--www-apps/moodle/Manifest3
-rw-r--r--www-apps/moodle/files/config-r1.php36
-rw-r--r--www-apps/moodle/files/config.php29
-rw-r--r--www-apps/moodle/files/postinstall-en.txt220
-rw-r--r--www-apps/moodle/files/postinstall-nodb-en.txt6
-rw-r--r--www-apps/moodle/metadata.xml9
-rw-r--r--www-apps/moodle/moodle-2.7.9.ebuild128
-rw-r--r--www-apps/moodle/moodle-2.8.7.ebuild128
-rw-r--r--www-apps/moodle/moodle-2.9.1.ebuild128
-rw-r--r--www-apps/mypictures/Manifest1
-rw-r--r--www-apps/mypictures/files/mypictures.diff14
-rw-r--r--www-apps/mypictures/files/postinstall-en.txt4
-rw-r--r--www-apps/mypictures/metadata.xml5
-rw-r--r--www-apps/mypictures/mypictures-20040202-r1.ebuild40
-rw-r--r--www-apps/mypictures/mypictures-20040202.ebuild46
-rw-r--r--www-apps/mythweb/Manifest3
-rw-r--r--www-apps/mythweb/files/0.25-postinstall-en.txt9
-rw-r--r--www-apps/mythweb/files/mythweb.conf.nginx30
-rw-r--r--www-apps/mythweb/files/reconfig39
-rw-r--r--www-apps/mythweb/metadata.xml13
-rw-r--r--www-apps/mythweb/mythweb-0.26.0.ebuild90
-rw-r--r--www-apps/mythweb/mythweb-0.27.1.ebuild90
-rw-r--r--www-apps/mythweb/mythweb-0.27.ebuild90
-rw-r--r--www-apps/nanoblogger/Manifest3
-rw-r--r--www-apps/nanoblogger/files/nb.bashcomp48
-rw-r--r--www-apps/nanoblogger/metadata.xml20
-rw-r--r--www-apps/nanoblogger/nanoblogger-3.2.3.ebuild62
-rw-r--r--www-apps/nanoblogger/nanoblogger-3.3.ebuild67
-rw-r--r--www-apps/nanoblogger/nanoblogger-3.5_rc1.ebuild70
-rw-r--r--www-apps/nanoc/Manifest2
-rw-r--r--www-apps/nanoc/metadata.xml6
-rw-r--r--www-apps/nanoc/nanoc-3.7.5-r1.ebuild58
-rw-r--r--www-apps/nanoc/nanoc-3.7.5.ebuild57
-rw-r--r--www-apps/nanoc/nanoc-3.8.0.ebuild58
-rw-r--r--www-apps/nikola/Manifest5
-rw-r--r--www-apps/nikola/metadata.xml48
-rw-r--r--www-apps/nikola/nikola-7.2.0.ebuild62
-rw-r--r--www-apps/nikola/nikola-7.6.0.ebuild69
-rw-r--r--www-apps/nikola/nikola-7.6.1.ebuild69
-rw-r--r--www-apps/nikola/nikola-7.6.2.ebuild69
-rw-r--r--www-apps/novnc/Manifest1
-rw-r--r--www-apps/novnc/files/noVNC.confd4
-rw-r--r--www-apps/novnc/files/noVNC.initd30
-rw-r--r--www-apps/novnc/metadata.xml13
-rw-r--r--www-apps/novnc/novnc-0.5.ebuild46
-rw-r--r--www-apps/novnc/novnc-9999.ebuild59
-rw-r--r--www-apps/openwebstats/Manifest1
-rw-r--r--www-apps/openwebstats/files/config.php46
-rw-r--r--www-apps/openwebstats/files/postinstall-en.txt36
-rw-r--r--www-apps/openwebstats/metadata.xml8
-rw-r--r--www-apps/openwebstats/openwebstats-1.1.ebuild39
-rw-r--r--www-apps/otrs/Manifest5
-rw-r--r--www-apps/otrs/files/apache2.patch25
-rw-r--r--www-apps/otrs/files/dbi_finish.patch10
-rw-r--r--www-apps/otrs/files/postinstall-en-2.txt18
-rw-r--r--www-apps/otrs/files/reconfig-231
-rw-r--r--www-apps/otrs/metadata.xml9
-rw-r--r--www-apps/otrs/otrs-3.2.10.ebuild156
-rw-r--r--www-apps/otrs/otrs-3.2.12.ebuild156
-rw-r--r--www-apps/otrs/otrs-3.2.7.ebuild156
-rw-r--r--www-apps/otrs/otrs-3.2.8.ebuild156
-rw-r--r--www-apps/otrs/otrs-3.2.9.ebuild156
-rw-r--r--www-apps/owncloud/Manifest5
-rw-r--r--www-apps/owncloud/metadata.xml9
-rw-r--r--www-apps/owncloud/owncloud-5.0.19.ebuild49
-rw-r--r--www-apps/owncloud/owncloud-6.0.8.ebuild45
-rw-r--r--www-apps/owncloud/owncloud-7.0.6.ebuild45
-rw-r--r--www-apps/owncloud/owncloud-8.0.4.ebuild52
-rw-r--r--www-apps/owncloud/owncloud-8.1.0.ebuild52
-rw-r--r--www-apps/ownpaste/Manifest1
-rw-r--r--www-apps/ownpaste/metadata.xml15
-rw-r--r--www-apps/ownpaste/ownpaste-0.2.2-r1.ebuild54
-rw-r--r--www-apps/ownpaste/ownpaste-9999.ebuild54
-rw-r--r--www-apps/pcgi/Manifest2
-rw-r--r--www-apps/pcgi/metadata.xml5
-rw-r--r--www-apps/pcgi/pcgi-2.0_alpha5.ebuild48
-rw-r--r--www-apps/phpBB/Manifest3
-rw-r--r--www-apps/phpBB/files/postinstall-en.txt22
-rw-r--r--www-apps/phpBB/metadata.xml5
-rw-r--r--www-apps/phpBB/phpBB-3.0.10.ebuild41
-rw-r--r--www-apps/phpBB/phpBB-3.0.11.ebuild41
-rw-r--r--www-apps/phpBB/phpBB-3.0.12.ebuild40
-rw-r--r--www-apps/phpmp/Manifest1
-rw-r--r--www-apps/phpmp/files/postinstall-en.txt1
-rw-r--r--www-apps/phpmp/metadata.xml9
-rw-r--r--www-apps/phpmp/phpmp-0.11.0-r1.ebuild40
-rw-r--r--www-apps/phpmp/phpmp-0.11.0.ebuild41
-rw-r--r--www-apps/phprojekt/Manifest1
-rw-r--r--www-apps/phprojekt/files/postinstall-6-en.txt9
-rw-r--r--www-apps/phprojekt/files/postinstall-en.txt19
-rw-r--r--www-apps/phprojekt/metadata.xml8
-rw-r--r--www-apps/phprojekt/phprojekt-6.1.2.ebuild41
-rw-r--r--www-apps/phpsysinfo/Manifest11
-rw-r--r--www-apps/phpsysinfo/metadata.xml8
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-3.0.19.ebuild36
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-3.0.20.ebuild36
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-3.1.11.ebuild33
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-3.1.12.ebuild33
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-3.1.17.ebuild33
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-3.1.3.ebuild33
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-3.1.4.ebuild33
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-3.1.8.ebuild33
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-3.1.9.ebuild33
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-3.2.0.ebuild33
-rw-r--r--www-apps/phpsysinfo/phpsysinfo-3.2.2.ebuild35
-rw-r--r--www-apps/phpwebsite/Manifest3
-rw-r--r--www-apps/phpwebsite/files/postinstall-en.txt130
-rw-r--r--www-apps/phpwebsite/metadata.xml9
-rw-r--r--www-apps/phpwebsite/phpwebsite-0.10.2.ebuild49
-rw-r--r--www-apps/phpwebsite/phpwebsite-1.7.2.ebuild44
-rw-r--r--www-apps/polarblog/Manifest1
-rw-r--r--www-apps/polarblog/files/postinstall-en.txt13
-rw-r--r--www-apps/polarblog/files/reconfig12
-rw-r--r--www-apps/polarblog/metadata.xml5
-rw-r--r--www-apps/polarblog/polarblog-1.11.1.ebuild33
-rw-r--r--www-apps/postfixadmin/Manifest1
-rw-r--r--www-apps/postfixadmin/files/postinstall-en-2.2.0.txt47
-rw-r--r--www-apps/postfixadmin/files/postinstall-en-2.3.txt47
-rw-r--r--www-apps/postfixadmin/metadata.xml11
-rw-r--r--www-apps/postfixadmin/postfixadmin-2.3.7.ebuild97
-rw-r--r--www-apps/pyblosxom/Manifest1
-rw-r--r--www-apps/pyblosxom/files/config-hook.sh13
-rw-r--r--www-apps/pyblosxom/files/postinstall-en.txt12
-rw-r--r--www-apps/pyblosxom/files/postupgrade-en.txt10
-rw-r--r--www-apps/pyblosxom/files/pyblosxom-1.4.2-gentoo.patch13
-rw-r--r--www-apps/pyblosxom/metadata.xml8
-rw-r--r--www-apps/pyblosxom/pyblosxom-1.4.3.ebuild65
-rw-r--r--www-apps/redmine/Manifest1
-rw-r--r--www-apps/redmine/files/10_redmine_vhost.conf12
-rw-r--r--www-apps/redmine/files/redmine-2.initd49
-rw-r--r--www-apps/redmine/files/redmine.confd13
-rw-r--r--www-apps/redmine/metadata.xml17
-rw-r--r--www-apps/redmine/redmine-2.4.6.ebuild198
-rw-r--r--www-apps/rocketwiki-lqfb/Manifest1
-rw-r--r--www-apps/rocketwiki-lqfb/files/rocketwiki-lqfb-0.4-utf8.patch44
-rw-r--r--www-apps/rocketwiki-lqfb/metadata.xml12
-rw-r--r--www-apps/rocketwiki-lqfb/rocketwiki-lqfb-0.4.ebuild32
-rw-r--r--www-apps/roundup/Manifest3
-rw-r--r--www-apps/roundup/metadata.xml8
-rw-r--r--www-apps/roundup/roundup-1.4.20.ebuild45
-rw-r--r--www-apps/roundup/roundup-1.4.21.ebuild39
-rw-r--r--www-apps/roundup/roundup-1.5.0.ebuild40
-rw-r--r--www-apps/rt/Manifest1
-rw-r--r--www-apps/rt/files/config.layout-gentoo26
-rw-r--r--www-apps/rt/files/postinstall-en.txt19
-rw-r--r--www-apps/rt/files/reconfig56
-rw-r--r--www-apps/rt/files/rt-makefile-serialize-install-prereqs.patch12
-rw-r--r--www-apps/rt/files/rt.conf.d.211
-rw-r--r--www-apps/rt/files/rt.init.d.251
-rw-r--r--www-apps/rt/metadata.xml18
-rw-r--r--www-apps/rt/rt-4.2.11.ebuild292
-rw-r--r--www-apps/rutorrent/Manifest2
-rw-r--r--www-apps/rutorrent/metadata.xml11
-rw-r--r--www-apps/rutorrent/rutorrent-3.4-r1.ebuild55
-rw-r--r--www-apps/scgi/Manifest1
-rw-r--r--www-apps/scgi/metadata.xml5
-rw-r--r--www-apps/scgi/scgi-1.14.ebuild31
-rw-r--r--www-apps/sitebar/Manifest6
-rw-r--r--www-apps/sitebar/files/inc_writer.inc.php.diff11
-rw-r--r--www-apps/sitebar/files/postinstall-en.txt1
-rw-r--r--www-apps/sitebar/metadata.xml11
-rw-r--r--www-apps/sitebar/sitebar-3.3.9-r1.ebuild31
-rw-r--r--www-apps/sitebar/sitebar-3.3.9-r2.ebuild44
-rw-r--r--www-apps/sugarcrm/Manifest2
-rw-r--r--www-apps/sugarcrm/files/postinstall-en.txt6
-rw-r--r--www-apps/sugarcrm/metadata.xml19
-rw-r--r--www-apps/sugarcrm/sugarcrm-6.5.10.ebuild57
-rw-r--r--www-apps/sugarcrm/sugarcrm-6.5.9.ebuild56
-rw-r--r--www-apps/trac-accountmanager/Manifest3
-rw-r--r--www-apps/trac-accountmanager/metadata.xml22
-rw-r--r--www-apps/trac-accountmanager/trac-accountmanager-0.3_p9766.ebuild30
-rw-r--r--www-apps/trac-accountmanager/trac-accountmanager-0.4.2-r1.ebuild23
-rw-r--r--www-apps/trac-accountmanager/trac-accountmanager-0.4.2.ebuild25
-rw-r--r--www-apps/trac-accountmanager/trac-accountmanager-0.4_p10645.ebuild30
-rw-r--r--www-apps/trac-downloads/Manifest1
-rw-r--r--www-apps/trac-downloads/metadata.xml9
-rw-r--r--www-apps/trac-downloads/trac-downloads-0.3_p9282.ebuild32
-rw-r--r--www-apps/trac-mercurial/Manifest1
-rw-r--r--www-apps/trac-mercurial/metadata.xml13
-rw-r--r--www-apps/trac-mercurial/trac-mercurial-0.12.0.29_pre10899.ebuild29
-rw-r--r--www-apps/trac-mercurial/trac-mercurial-1.0.0.3_pre20130206.ebuild30
-rw-r--r--www-apps/trac-tags/Manifest1
-rw-r--r--www-apps/trac-tags/metadata.xml9
-rw-r--r--www-apps/trac-tags/trac-tags-0.6.ebuild33
-rw-r--r--www-apps/trac/Manifest3
-rw-r--r--www-apps/trac/files/postinst-en.txt41
-rw-r--r--www-apps/trac/files/postupgrade-en.txt19
-rw-r--r--www-apps/trac/files/tracd.confd13
-rwxr-xr-xwww-apps/trac/files/tracd.initd27
-rw-r--r--www-apps/trac/metadata.xml14
-rw-r--r--www-apps/trac/trac-1.0.4.ebuild129
-rw-r--r--www-apps/trac/trac-1.0.5.ebuild129
-rw-r--r--www-apps/trac/trac-1.0.6_p2.ebuild129
-rw-r--r--www-apps/tt-rss/Manifest2
-rw-r--r--www-apps/tt-rss/files/postinstall-en-with-daemon.txt19
-rw-r--r--www-apps/tt-rss/files/postinstall-en.txt6
-rw-r--r--www-apps/tt-rss/files/ttrssd.confd-r115
-rw-r--r--www-apps/tt-rss/files/ttrssd.initd-r173
-rw-r--r--www-apps/tt-rss/files/ttrssd.initd-r283
-rw-r--r--www-apps/tt-rss/files/ttrssd.logrotated8
-rw-r--r--www-apps/tt-rss/metadata.xml12
-rw-r--r--www-apps/tt-rss/tt-rss-20150304.ebuild89
-rw-r--r--www-apps/tt-rss/tt-rss-20150624.ebuild89
-rw-r--r--www-apps/venus/Manifest1
-rw-r--r--www-apps/venus/files/postinstall-en.txt10
-rw-r--r--www-apps/venus/metadata.xml14
-rw-r--r--www-apps/venus/venus-20100911.ebuild79
-rw-r--r--www-apps/viewvc/Manifest1
-rw-r--r--www-apps/viewvc/metadata.xml10
-rw-r--r--www-apps/viewvc/viewvc-1.1.20.ebuild120
-rw-r--r--www-apps/webdavcgi/Manifest2
-rw-r--r--www-apps/webdavcgi/files/0.8.3-logout-var-expansion.patch21
-rw-r--r--www-apps/webdavcgi/files/apache-webdavcgi-0.8-example.conf59
-rw-r--r--www-apps/webdavcgi/files/postinstall-en.txt29
-rw-r--r--www-apps/webdavcgi/files/postinstall-webdavwrapper-en.txt32
-rwxr-xr-xwww-apps/webdavcgi/files/reconfig32
-rwxr-xr-xwww-apps/webdavcgi/files/reconfig-suid26
-rw-r--r--www-apps/webdavcgi/files/webdav-0.8.conf88
-rw-r--r--www-apps/webdavcgi/metadata.xml28
-rw-r--r--www-apps/webdavcgi/webdavcgi-0.8.3.ebuild108
-rw-r--r--www-apps/webdavcgi/webdavcgi-0.8.4.ebuild164
-rw-r--r--www-apps/webmcp/Manifest2
-rw-r--r--www-apps/webmcp/files/webmcp-1.2.5-gentoo.patch141
-rw-r--r--www-apps/webmcp/files/webmcp-1.2.6-gentoo.patch143
-rw-r--r--www-apps/webmcp/metadata.xml11
-rw-r--r--www-apps/webmcp/webmcp-1.2.5.ebuild66
-rw-r--r--www-apps/webmcp/webmcp-1.2.6.ebuild66
-rw-r--r--www-apps/websvn/Manifest2
-rw-r--r--www-apps/websvn/metadata.xml8
-rw-r--r--www-apps/websvn/websvn-2.3.2.ebuild54
-rw-r--r--www-apps/websvn/websvn-2.3.3.ebuild54
-rw-r--r--www-apps/wiliki/Manifest1
-rw-r--r--www-apps/wiliki/files/wiliki-0.6.1-cgi-gentoo.patch23
-rw-r--r--www-apps/wiliki/files/wiliki-po-gentoo.patch11
-rw-r--r--www-apps/wiliki/metadata.xml18
-rw-r--r--www-apps/wiliki/wiliki-0.6.1.ebuild64
-rw-r--r--www-apps/wordpress/Manifest1
-rw-r--r--www-apps/wordpress/files/postinstall-en.txt38
-rw-r--r--www-apps/wordpress/files/postupgrade-en.txt37
-rw-r--r--www-apps/wordpress/metadata.xml9
-rw-r--r--www-apps/wordpress/wordpress-4.2.4.ebuild60
595 files changed, 20007 insertions, 0 deletions
diff --git a/www-apps/389-dsgw/389-dsgw-1.1.10.ebuild b/www-apps/389-dsgw/389-dsgw-1.1.10.ebuild
new file mode 100644
index 000000000000..9ead2cd44886
--- /dev/null
+++ b/www-apps/389-dsgw/389-dsgw-1.1.10.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="389 Directory Server Gateway Web Application"
+HOMEPAGE="http://port389.org/"
+SRC_URI="http://directory.fedoraproject.org/sources/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug +adminserver"
+
+DEPEND="adminserver? ( net-nds/389-admin )
+ dev-libs/nspr
+ dev-libs/nss
+ dev-libs/cyrus-sasl
+ dev-libs/icu:=
+ dev-libs/389-adminutil
+ net-nds/openldap"
+
+RDEPEND="${DEPEND}
+ dev-perl/perl-mozldap
+ dev-perl/CGI"
+
+src_prepare() {
+ # as per 389 documentation, when 64bit, export USE_64
+ use amd64 && export USE_64=1
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable debug) \
+ $(use_with adminserver) \
+ --with-adminutil=/usr \
+ --with-fhs \
+ --with-openldap || die "econf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ dodoc README
+}
diff --git a/www-apps/389-dsgw/Manifest b/www-apps/389-dsgw/Manifest
new file mode 100644
index 000000000000..4c94ffd733f0
--- /dev/null
+++ b/www-apps/389-dsgw/Manifest
@@ -0,0 +1 @@
+DIST 389-dsgw-1.1.10.tar.bz2 726295 SHA256 07aa0d9a432b8d9d63b2c64b7c17021b3fe2ac2ec62e4d596723253f3c0e4e3f SHA512 52c73867d6801c3f3bff424c9b302298e67f0b07bc5746f83aa83367b5fbff605ffcced968eaf6ab4863a17c703ec529644a4227aa2925aea65943a72ff4e2e8 WHIRLPOOL 34c7fcc8bce7f6bfcbb429b0bd26b1d8836cb8d94a4403e8be89ee9cbd3041f9f057fe1ecaf607e1630d1ae8fbc6018cfa9de794de83aa7890b4f18a158940a5
diff --git a/www-apps/389-dsgw/metadata.xml b/www-apps/389-dsgw/metadata.xml
new file mode 100644
index 000000000000..f0da01e449a4
--- /dev/null
+++ b/www-apps/389-dsgw/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>
+ <email>maintainer-needed@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name="adminserver">Install DSGW with Admin Server</flag>
+</use>
+</pkgmetadata>
diff --git a/www-apps/Apache-Gallery/Apache-Gallery-1.0_rc3.ebuild b/www-apps/Apache-Gallery/Apache-Gallery-1.0_rc3.ebuild
new file mode 100644
index 000000000000..bea6836fa041
--- /dev/null
+++ b/www-apps/Apache-Gallery/Apache-Gallery-1.0_rc3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit depend.apache perl-module webapp
+
+MY_P=${P/_rc/RC}
+
+DESCRIPTION="Apache gallery for mod_perl"
+SRC_URI="http://apachegallery.dk/download/${MY_P}.tar.gz"
+HOMEPAGE="http://apachegallery.dk/"
+
+LICENSE="|| ( Artistic GPL-2 )"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+WEBAPP_MANUAL_SLOT="yes"
+SLOT="0"
+
+S=${WORKDIR}/${MY_P}
+
+DEPEND="${DEPEND}
+ =dev-lang/perl-5*
+ =www-apache/libapreq2-2*[perl]
+ >=media-libs/imlib2-1.0.6-r1
+ dev-perl/URI
+ >=dev-perl/ImageInfo-1.04-r2
+ >=dev-perl/ImageSize-2.99-r1
+ dev-perl/text-template
+ >=dev-perl/CGI-3.08
+ dev-perl/Image-Imlib2
+"
+
+need_apache2
+
+src_install() {
+ perl-module_src_install
+ webapp_src_preinst
+
+ dodoc Changes INSTALL README TODO UPGRADE || die
+
+ insinto "${MY_ICONSDIR}"/gallery
+ doins htdocs/*.png
+
+ dodir "${MY_HOSTROOTDIR}"/${PN}/templates/default
+ dodir "${MY_HOSTROOTDIR}"/${PN}/templates/new
+
+ insinto "${MY_HOSTROOTDIR}"/${PN}/templates/default
+ doins templates/default/*
+
+ insinto "${MY_HOSTROOTDIR}"/${PN}/templates/new
+ doins templates/new/*
+
+ insinto "${APACHE_VHOSTS_CONFDIR}"
+ doins "${FILESDIR}"/76_apache2-gallery.conf
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/Apache-Gallery/Manifest b/www-apps/Apache-Gallery/Manifest
new file mode 100644
index 000000000000..0eebe3d84e56
--- /dev/null
+++ b/www-apps/Apache-Gallery/Manifest
@@ -0,0 +1 @@
+DIST Apache-Gallery-1.0RC3.tar.gz 83891 SHA256 9a7ab7566d811bb21dd27bc9a27cdcfb2c7a96c01727ad9a04313fc80e68e1f7
diff --git a/www-apps/Apache-Gallery/files/76_apache2-gallery.conf b/www-apps/Apache-Gallery/files/76_apache2-gallery.conf
new file mode 100644
index 000000000000..34dd36dbdbbc
--- /dev/null
+++ b/www-apps/Apache-Gallery/files/76_apache2-gallery.conf
@@ -0,0 +1,40 @@
+##### Apache::Gallery configuration
+#
+# This is actually a virtual host definition with mod_perl directives
+# It might be a very good idea to disable mod_autoindex in apache[2].conf
+#
+
+#<VirtualHost localhost>
+# ServerName localhost
+# DocumentRoot /var/www/localhost/htdocs/data/pictures/
+# ErrorLog /var/log/gallery-error_log
+# TransferLog /var/log/gallery-access_log
+# <IfDefine MODPERL2>
+# PerlSetVar GalleryTemplateDir '/var/www/localhost/Apache-Gallery/templates/default'
+# PerlSetVar GalleryInfo 'Picture Taken => DateTimeOriginal, Flash => Flash'
+# PerlSetVar GallerySizes '640 1024 1600 2272'
+# PerlSetVar GalleryThumbnailSize '100x75'
+## If you have a copyright overlay image set the location of it
+# PerlSetVar GalleryCopyrightImage 'htdocs/c.png'
+## If you use Apache2 set the following "PerlOptions" too
+# PerlOptions +GlobalRequest
+# <Location />
+# SetHandler modperl
+# PerlResponseHandler Apache::Gallery
+# Options -Indexes
+# AllowOverride AuthConfig
+# Order deny,allow
+# Allow from all
+# </Location>
+# </IfDefine>
+## Allow access to cache
+# <Directory /var/tmp/Apache-Gallery>
+# Options -ALL
+# AllowOverride None
+# Order deny,allow
+# Allow from all
+# </Directory>
+## Give Apache an idea of where to find icons and css
+# Alias /icons /var/www/localhost/icons
+# Alias /gallery.css /var/www/localhost/Apache-Gallery/templates/default/gallery.css
+#</VirtualHost>
diff --git a/www-apps/Apache-Gallery/files/postinstall-en.txt b/www-apps/Apache-Gallery/files/postinstall-en.txt
new file mode 100644
index 000000000000..1db19de3c7d3
--- /dev/null
+++ b/www-apps/Apache-Gallery/files/postinstall-en.txt
@@ -0,0 +1,2 @@
+You should now edit the Apache configs that have been installed into your
+Apache confdir.
diff --git a/www-apps/Apache-Gallery/metadata.xml b/www-apps/Apache-Gallery/metadata.xml
new file mode 100644
index 000000000000..6632069b5aff
--- /dev/null
+++ b/www-apps/Apache-Gallery/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/agendav/Manifest b/www-apps/agendav/Manifest
new file mode 100644
index 000000000000..9ae3d800634f
--- /dev/null
+++ b/www-apps/agendav/Manifest
@@ -0,0 +1 @@
+DIST agendav-1.2.6.2.tar.gz 2586820 SHA256 af5a8a828a1204d3dc4f0457424e77d74505b98c23e1ce9a886af789541ba44c SHA512 bfae7c00ab7f8baf239310e2c04229ee76a56befc57d9ab449654bb0c28dd30aab628a2292670dc8c1ce479593bd1b6a57ba1e4f3bcffb4de27214c855ccabab WHIRLPOOL 952f1ebc2702ed3e13334951b89b7898059c0dd3b917b6c9eafde2bc4454fb6dcebcea575d20acf15cc3f1af53db88735e99aa68e20ecd1ca63390be9fa1b768
diff --git a/www-apps/agendav/agendav-1.2.6.2.ebuild b/www-apps/agendav/agendav-1.2.6.2.ebuild
new file mode 100644
index 000000000000..15ab2d69ff1e
--- /dev/null
+++ b/www-apps/agendav/agendav-1.2.6.2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit webapp
+
+DESCRIPTION="multilanguage CalDAV web client"
+HOMEPAGE="http://agendav.org/"
+SRC_URI="https://github.com/adobo/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="BSD LGPL-3+ LGPL-2.1+ GPL-3+"
+KEYWORDS="~amd64"
+
+RDEPEND=">=dev-lang/php-5.3[curl,unicode]
+ virtual/httpd-php
+ || ( >=virtual/mysql-5.1 >=dev-db/postgresql-8.1 )"
+
+S=${WORKDIR}/adobo-${PN}-84f869e
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc \
+ doc/source/admin/configuration.rst \
+ doc/source/admin/installation.rst \
+ doc/source/admin/troubleshooting.rst \
+ doc/source/admin/upgrading.rst \
+ || die
+
+ # fix locations
+ sed -i \
+ -e "s:\(system_path = \)'[^']\+':\1'${MY_HOSTROOTDIR}/${PN}/system':" \
+ -e "s:\(application_folder = \)'[^']\+':\1'${MY_HOSTROOTDIR}/${PN}/application':" \
+ web/public/index.php || die
+ sed -i \
+ -e "/require_once/s:'../:'${MY_HOSTROOTDIR}/${PN}/:" \
+ web/config/autoload.php || die
+ sed -i \
+ -e "1a\set_include_path(get_include_path() . PATH_SEPARATOR . APPPATH.'config');" \
+ web/config/constants.php || die
+
+ einfo "Installing web files"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r web/public/* || die
+
+ einfo "Creating configuration container"
+ dodir "/etc/agendav"
+ local f
+ for f in caldav database config ; do
+ cp web/config/${f}.php.template "${ED}"/etc/agendav/${f}.php || die
+ ln -s "${EPREFIX}"/etc/agendav/${f}.php web/config/${f}.php || die
+ done
+
+ einfo "Installing main files"
+ insinto "${MY_HOSTROOTDIR}/${PN}"
+ doins -r web/{application,config,css_src,lang,system,templates_src,public} \
+ || die
+ insinto "${MY_HOSTROOTDIR}/${PN}/application/libraries"
+ doins libs/icalcreator/*.php \
+ libs/caldav-client/*.php \
+ libs/awl/*.php \
+ || die
+ dodir /usr/bin
+ cat > "${ED}"/usr/bin/agendavcli <<-EOF
+ #!/usr/bin/env bash
+
+ exec php "${MY_HOSTROOTDIR}/${PN}/public/index.php" cli "\${@}"
+ EOF
+ chmod 755 "${ED}"/usr/bin/agendavcli
+
+ einfo "Installing sql files"
+ insinto "${MY_SQLSCRIPTSDIR}"
+ doins -r sql/* || die
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
+ webapp_src_install
+}
diff --git a/www-apps/agendav/files/postinstall-en.txt b/www-apps/agendav/files/postinstall-en.txt
new file mode 100644
index 000000000000..5301576c6498
--- /dev/null
+++ b/www-apps/agendav/files/postinstall-en.txt
@@ -0,0 +1,13 @@
+Next to a CalDAV server, you need access to a mysql or postgresql
+database to use agendav.
+
+Read /usr/share/doc/www-apps/agendav-${PVR}/installation.rst.bz2 for
+installation instructions of the database. This includes loading the
+SQL statements from /usr/share/webapps/agendav/${PVR}/sqlscripts/.
+
+Next you have to edit all config files in /etc/agendav/.
+
+Before you can use agendav, you need to upgrade the database (even
+though this is a new install) using:
+
+ $ agendavcli dbupdate
diff --git a/www-apps/agendav/metadata.xml b/www-apps/agendav/metadata.xml
new file mode 100644
index 000000000000..c4dd21f48526
--- /dev/null
+++ b/www-apps/agendav/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>
+ <email>grobian@gentoo.org</email>
+ <name>Fabian Groffen</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">adobo/agendav</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/ampache/Manifest b/www-apps/ampache/Manifest
new file mode 100644
index 000000000000..b5d87cb47a8c
--- /dev/null
+++ b/www-apps/ampache/Manifest
@@ -0,0 +1,3 @@
+DIST ampache-3.4.3.tar.gz 1414765 SHA256 001b34abb77a830ce5f67d9823b8fbeba75a517b577c650349843854deb8d0eb
+DIST ampache-3.5.3.tar.gz 1962048 SHA256 b4c0d58754007c19dc959659cf43442d9f0cf3ebdbeb35b8e2845870bca0ca4c
+DIST ampache-3.5.4.tar.gz 1961555 SHA256 f5ee6906d2af60ea8dcbd1b3a18119ffbe6b92c21c0b0c59a1ba01e5bead5f74
diff --git a/www-apps/ampache/ampache-3.4.3.ebuild b/www-apps/ampache/ampache-3.4.3.ebuild
new file mode 100644
index 000000000000..d108331ed3a4
--- /dev/null
+++ b/www-apps/ampache/ampache-3.4.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit webapp depend.php
+
+DESCRIPTION="Ampache is a PHP-based tool for managing, updating and playing your audio files via a web interface"
+HOMEPAGE="http://www.ampache.org/"
+SRC_URI="http://www.ampache.org/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+need_httpd_cgi
+need_php_httpd
+
+pkg_setup() {
+ webapp_pkg_setup
+ require_php_with_use pcre session unicode iconv xml mysql gd zlib
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc docs/*
+ rm -rf docs/
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_postinst_txt en "${FILESDIR}"/installdoc.txt
+ webapp_src_install
+}
diff --git a/www-apps/ampache/ampache-3.5.3-r1.ebuild b/www-apps/ampache/ampache-3.5.3-r1.ebuild
new file mode 100644
index 000000000000..3b818d75193e
--- /dev/null
+++ b/www-apps/ampache/ampache-3.5.3-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+inherit webapp
+
+DESCRIPTION="Ampache is a PHP-based tool for managing, updating and playing your audio files via a web interface"
+HOMEPAGE="http://www.ampache.org/"
+SRC_URI="http://www.ampache.org/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE=""
+
+RDEPEND="dev-lang/php[gd,hash,iconv,mysql,session,unicode,xml,zlib]
+ || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )"
+DEPEND=""
+
+need_httpd_cgi
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc docs/*
+ rm -rf docs/
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_postinst_txt en "${FILESDIR}"/installdoc.txt
+ webapp_src_install
+}
+
+pkg_postinst() {
+ elog "Install and upgrade instructions can be found here:"
+ elog " /usr/share/doc/${P}/INSTALL.bz2"
+ elog " /usr/share/doc/${P}/MIGRATION.bz2"
+ webapp_pkg_postinst
+}
diff --git a/www-apps/ampache/ampache-3.5.4.ebuild b/www-apps/ampache/ampache-3.5.4.ebuild
new file mode 100644
index 000000000000..1040dd0bc445
--- /dev/null
+++ b/www-apps/ampache/ampache-3.5.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+inherit webapp
+
+DESCRIPTION="Ampache is a PHP-based tool for managing, updating and playing your audio files via a web interface"
+HOMEPAGE="http://www.ampache.org/"
+SRC_URI="http://www.ampache.org/downloads/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="aac flac mp3 ogg transcode"
+
+RDEPEND="dev-lang/php[gd,hash,iconv,mysql,session,unicode,xml,zlib]
+ || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )
+ transcode? ( media-sound/lame
+ aac? ( || ( media-libs/faad2 media-sound/alac_decoder ) )
+ flac? ( media-libs/flac )
+ mp3? ( media-sound/mp3splt )
+ ogg? ( media-sound/mp3splt media-sound/vorbis-tools )
+ )"
+DEPEND=""
+
+need_httpd_cgi
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc docs/*
+ rm -rf docs/
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_postinst_txt en "${FILESDIR}"/installdoc.txt
+ webapp_src_install
+}
+
+pkg_postinst() {
+ elog "Install and upgrade instructions can be found here:"
+ elog " /usr/share/doc/${P}/INSTALL.bz2"
+ elog " /usr/share/doc/${P}/MIGRATION.bz2"
+ webapp_pkg_postinst
+}
diff --git a/www-apps/ampache/files/installdoc.txt b/www-apps/ampache/files/installdoc.txt
new file mode 100644
index 000000000000..cdd6e118238e
--- /dev/null
+++ b/www-apps/ampache/files/installdoc.txt
@@ -0,0 +1,6 @@
+Install and upgrade instructions can be found here:
+/usr/share/doc/ampache-<version>/INSTALL.gz
+/usr/share/doc/ampache-<version>/MIGRATION.gz
+
+For general information please read:
+/usr/share/doc/ampache-<version>/README.gz
diff --git a/www-apps/ampache/metadata.xml b/www-apps/ampache/metadata.xml
new file mode 100644
index 000000000000..c87b0e76868e
--- /dev/null
+++ b/www-apps/ampache/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <use>
+ <flag name='transcode'>Install optional dependencies for transcoding support</flag>
+ </use>
+</pkgmetadata>
diff --git a/www-apps/b2evolution/Manifest b/www-apps/b2evolution/Manifest
new file mode 100644
index 000000000000..bf0e36ca1035
--- /dev/null
+++ b/www-apps/b2evolution/Manifest
@@ -0,0 +1 @@
+DIST b2evolution-4.1.7-stable-2013-04-27.zip 6112599 SHA256 46432f779b4525bbf24e5b6738d2af504c5c4330e60878d1bed9afe1f6a3f634 SHA512 cf5f20c6dd8ddd714bc6cc3365fc815b4f9444feddea278da08ab247bf8dbaf97c70fe923d4438888e8a94e31567c6f5085850ba4566bae3ec54f45c7dde8c20 WHIRLPOOL 62e58afda602865ba199e0f4bc26cdd270816cc82ab6608ee7b9eced1f5e85a5974fda8f54b3c5928ed97ef22e5dddc984ee7e772e16705b482cd94f5fa0077b
diff --git a/www-apps/b2evolution/b2evolution-4.1.7.ebuild b/www-apps/b2evolution/b2evolution-4.1.7.ebuild
new file mode 100644
index 000000000000..60278d8c608e
--- /dev/null
+++ b/www-apps/b2evolution/b2evolution-4.1.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp eutils
+
+MY_EXT="stable-2013-04-27"
+MY_PV=${PV/_/-}
+
+DESCRIPTION="Multilingual multiuser multi-blog engine"
+HOMEPAGE="http://www.b2evolution.net"
+SRC_URI="mirror://sourceforge/evocms/${PN}-${MY_PV}-${MY_EXT}.zip"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="virtual/httpd-php
+ dev-lang/php[ctype,curl,mysql,tokenizer,xml]"
+DEPEND="${RDEPEND}
+ app-arch/unzip"
+
+need_httpd_cgi
+
+S="${WORKDIR}/${PN}"
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r blogs/*
+
+ rm doc/*.*-*.html doc/*.src.html
+ dohtml doc/*.html
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/conf/_basic_config.template.php
+ webapp_serverowned "${MY_HTDOCSDIR}"/{cache,media}/
+ webapp_configfile
+ "${MY_HTDOCSDIR}"/conf/_{basic_config.template,advanced,locales,formatting,admin,stats,application,config,icons,upgrade}.php
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
+
+ webapp_src_install
+}
diff --git a/www-apps/b2evolution/files/postinstall-en.txt b/www-apps/b2evolution/files/postinstall-en.txt
new file mode 100644
index 000000000000..9361877c2608
--- /dev/null
+++ b/www-apps/b2evolution/files/postinstall-en.txt
@@ -0,0 +1,17 @@
+You will need to provide a database for your b2evolution installation.
+
+This assumes you have some knowledge of MySQL, and already have it
+installed and configured. If not, please refer to the Gentoo MySQL
+guide at the following URL:
+
+http://www.gentoo.org/doc/en/mysql-howto.xml
+
+Once you have a database ready all you need to do is to go to this
+location
+
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install
+
+and provide the credentials required for the database access.
+
+Note the administrator password b2evolution will provide and after
+logging in with these credentials you can start to use the application.
diff --git a/www-apps/b2evolution/files/postupgrade-en.txt b/www-apps/b2evolution/files/postupgrade-en.txt
new file mode 100644
index 000000000000..9e01eaba38c7
--- /dev/null
+++ b/www-apps/b2evolution/files/postupgrade-en.txt
@@ -0,0 +1,6 @@
+Please go to this location
+
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install/index.php
+
+and select "Upgrade from a previous version of b2evolution" after
+providing the credentials required for the database acces.
diff --git a/www-apps/b2evolution/metadata.xml b/www-apps/b2evolution/metadata.xml
new file mode 100644
index 000000000000..3a17645547f8
--- /dev/null
+++ b/www-apps/b2evolution/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <upstream>
+ <remote-id type="sourceforge">evocms</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/baikal/Manifest b/www-apps/baikal/Manifest
new file mode 100644
index 000000000000..a02314e8d2a3
--- /dev/null
+++ b/www-apps/baikal/Manifest
@@ -0,0 +1,2 @@
+DIST baikal-regular-0.2.4.tgz 868606 SHA256 5a8a57323d3662e167c8b45b5d10748139be94f54d4cc440aca8aff0159f9678 SHA512 84ac92a9fc0da108a7a56972a6ec4f08bdd5223c4052589db2cbe030093eeb250e5df769a02cd86b74e92c6c56601e1df1f1d422e3a9bc1fc958931f93a0d6ba WHIRLPOOL 010f4da3c1bb3cf08c1567f80843c44877f2a46a2d0a86258cb903bfc9e7c08da7afeae69e93c524a178ebf2cb89ab35579485349e06e52619b34ca163e09b05
+DIST baikal-regular-0.2.7.tgz 2273699 SHA256 268daeec96b9f1bbfee0c16398ae213abfe827c97ec487179985828b6267359f SHA512 261e34eda6e85e38f9478e04f68fdea09ea12203a11b47aaf1a446e33333a9d8d1d9663f4a36da1cfd2adf776ba3f4be459b2639cc1a23e64e8584e47632bb8f WHIRLPOOL bf3e750c9cb5e9e372794e24516e8acb6d43abe1e76d30e3033994e617082f62bef87f5b33363937818ccb1ac35cd37d59dc7caab42356206be37967d284b8f0
diff --git a/www-apps/baikal/baikal-0.2.4.ebuild b/www-apps/baikal/baikal-0.2.4.ebuild
new file mode 100644
index 000000000000..7156c4a51038
--- /dev/null
+++ b/www-apps/baikal/baikal-0.2.4.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit webapp
+
+DESCRIPTION="Lightweight CalDAV+CardDAV server"
+HOMEPAGE="http://baikal-server.com/"
+SRC_URI="http://baikal-server.com/get/${PN}-regular-${PV}.tgz"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64"
+IUSE="+mysql sqlite"
+REQUIRED_USE="|| ( mysql sqlite )"
+
+RDEPEND=">=dev-lang/php-5.3[pdo,xml,mysql?,sqlite?]
+ mysql? ( virtual/mysql )
+ sqlite? ( dev-db/sqlite )
+ virtual/httpd-php"
+
+S=${WORKDIR}/${PN}-regular
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc *.md || die "dodoc failed"
+
+ einfo "Installing web files"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r html/* html/.htaccess Core || die "doins failed"
+
+ einfo "Setting up container for configuration"
+ insinto /etc/${PN}
+ doins Specific/.htaccess || die "doins failed"
+
+ einfo "Fixing symlinks"
+ local link target
+ find "${D}${MY_HTDOCSDIR}" -type l | while read link ; do
+ target=$(readlink "${link}")
+ target=${target/..\/Core/Core}
+ rm "${link}" && ln -s "${target}" "${link}"
+ done
+ dosym /etc/${PN} "${MY_HTDOCSDIR}"/Specific
+ dosym . "${MY_HTDOCSDIR}"/html
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
+ webapp_src_install
+
+ fowners -R apache:apache /etc/${PN}
+}
diff --git a/www-apps/baikal/baikal-0.2.7.ebuild b/www-apps/baikal/baikal-0.2.7.ebuild
new file mode 100644
index 000000000000..e2738a285bbe
--- /dev/null
+++ b/www-apps/baikal/baikal-0.2.7.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit webapp
+
+DESCRIPTION="Lightweight CalDAV+CardDAV server"
+HOMEPAGE="http://baikal-server.com/"
+SRC_URI="http://baikal-server.com/get/${PN}-regular-${PV}.tgz"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64"
+IUSE="+mysql sqlite"
+REQUIRED_USE="|| ( mysql sqlite )"
+
+RDEPEND=">=dev-lang/php-5.3[ctype,filter,pdo,session,xml,mysql?,sqlite?]
+ mysql? ( virtual/mysql )
+ sqlite? ( dev-db/sqlite )
+ virtual/httpd-php"
+
+S=${WORKDIR}/${PN}-regular
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc *.md || die "dodoc failed"
+
+ einfo "Installing web files"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r html/* html/.htaccess Core vendor || die "doins failed"
+
+ einfo "Setting up container for configuration"
+ insinto /etc/${PN}
+ doins Specific/.htaccess || die "doins failed"
+
+ einfo "Fixing symlinks"
+ local link target
+ find "${D}${MY_HTDOCSDIR}" -type l | while read link ; do
+ target=$(readlink "${link}")
+ target=${target/..\/Core/Core}
+ rm "${link}" && ln -s "${target}" "${link}"
+ done
+ dosym /etc/${PN} "${MY_HTDOCSDIR}"/Specific
+ dosym . "${MY_HTDOCSDIR}"/html
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
+ webapp_src_install
+
+ if has_version www-servers/apache ; then
+ fowners -R apache:apache /etc/${PN}
+ else
+ einfo "/etc/${PN} must be owned by the webserver user for baikal"
+ fi
+}
diff --git a/www-apps/baikal/files/postinstall-en.txt b/www-apps/baikal/files/postinstall-en.txt
new file mode 100644
index 000000000000..aafca857472d
--- /dev/null
+++ b/www-apps/baikal/files/postinstall-en.txt
@@ -0,0 +1,4 @@
+In order to setup baïkal:
+- create /etc/${PN}/ENABLE_INSTALL owner apache:apache
+- point your browser at the instal's URL and follow the setup
+To upgrade baïkal, you have to follow the setup instructions
diff --git a/www-apps/baikal/metadata.xml b/www-apps/baikal/metadata.xml
new file mode 100644
index 000000000000..263de02a5e77
--- /dev/null
+++ b/www-apps/baikal/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>
+ <email>grobian@gentoo.org</email>
+ <name>Fabian Groffen</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apps/bitten/Manifest b/www-apps/bitten/Manifest
new file mode 100644
index 000000000000..a74d82d0b43d
--- /dev/null
+++ b/www-apps/bitten/Manifest
@@ -0,0 +1 @@
+DIST Bitten-0.6.tar.gz 340031 SHA256 0ccbe1c6c798d980d2b9024a86cd04710b58c9a129f02b82bf72d96efd6e7026 SHA512 d0881be4d36dfa939f5b48163e37583b522a18b3bb736b435d6fa7d7e1eb8fa98e2b7c7651a5e16380597555ce1ffd6d35dc37a74dd69a0ed4b64e36ec9ecfb0 WHIRLPOOL aa036add696966c0db8a322a6f21f0784bab6eb0e2aab323ebeb60c349102c82613860ccfc28690d56cba6f57906854d3ca2cfd5078636ad4f1e324b228109dd
diff --git a/www-apps/bitten/bitten-0.6-r1.ebuild b/www-apps/bitten/bitten-0.6-r1.ebuild
new file mode 100644
index 000000000000..86c4c6648f2a
--- /dev/null
+++ b/www-apps/bitten/bitten-0.6-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+MY_PN=Bitten
+MY_P=${MY_PN}-${PV}
+
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-*"
+DISTUTILS_SRC_TEST="setup.py"
+
+inherit distutils user
+
+DESCRIPTION="Continuous integration plugin for Trac"
+HOMEPAGE="http://bitten.edgewall.org/"
+SRC_URI="http://ftp.edgewall.com/pub/${PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="server test"
+
+CDEPEND="dev-python/setuptools"
+DEPEND="${CDEPEND}
+ test? ( dev-python/figleaf )"
+RDEPEND="${CDEPEND}
+ server? ( www-apps/trac )"
+
+S=${WORKDIR}/${MY_P}
+
+pkg_setup() {
+ python_pkg_setup
+ DISTUTILS_GLOBAL_OPTIONS=("2.* $(use_with server master)")
+ enewgroup tracd
+ enewuser ${PN} -1 -1 /var/tmp/${PN} tracd
+}
+
+src_install() {
+ distutils_src_install
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}
+
+pkg_postinst() {
+ touch "${ROOT}"/var/log/${PN}.log
+ chown -f ${PN}:tracd "${ROOT}"/var/log/${PN}.log
+}
diff --git a/www-apps/bitten/files/bitten.confd b/www-apps/bitten/files/bitten.confd
new file mode 100644
index 000000000000..49af46916070
--- /dev/null
+++ b/www-apps/bitten/files/bitten.confd
@@ -0,0 +1,19 @@
+# The commented variables in this file are the defaults that are used
+# in the init-script. You don't need to uncomment them except to
+# customize them to different values.
+
+# Server running bitten
+#BITTEN_SERVER="http://localhost/trac/builds"
+
+# Temporary dir wher builds take place
+#BITTEN_TMPDIR="/var/tmp/bitten"
+
+# Log file
+#BITTEN_LOG="/var/log/bitten.log"
+
+# Additional options for bitten
+#BITTEN_OPTS=""
+
+# User and group as which to run bitten
+#BITTEN_USER="bitten"
+#BITTEN_GROUP="tracd"
diff --git a/www-apps/bitten/files/bitten.initd b/www-apps/bitten/files/bitten.initd
new file mode 100644
index 000000000000..99301d0188b0
--- /dev/null
+++ b/www-apps/bitten/files/bitten.initd
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Id$
+
+start() {
+ ebegin "Starting Bitten slave"
+ start-stop-daemon --start --user ${BITTEN_USER:-bitten} --group ${BITTEN_GROUP:-tracd} \
+ --pidfile /var/run/bitten.pid --make-pidfile --background \
+ --exec /usr/bin/bitten-slave -- \
+ ${BITTEN_SERVER} -d ${BITTEN_TMPDIR:-/var/tmp/bitten} -l ${BITTEN_LOG:-/var/log/bitten.log} \
+ ${BITTEN_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Bitten slave"
+ start-stop-daemon --stop --quiet --pidfile /var/run/bitten.pid
+ eend $?
+}
diff --git a/www-apps/bitten/metadata.xml b/www-apps/bitten/metadata.xml
new file mode 100644
index 000000000000..10dc24f7fcbb
--- /dev/null
+++ b/www-apps/bitten/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>python</herd>
+ <use>
+ <flag name='server'>Install master instance that integrates itself with Trac</flag>
+ </use>
+</pkgmetadata>
diff --git a/www-apps/blazeblogger/Manifest b/www-apps/blazeblogger/Manifest
new file mode 100644
index 000000000000..5b1aa2d0c314
--- /dev/null
+++ b/www-apps/blazeblogger/Manifest
@@ -0,0 +1,2 @@
+DIST blazeblogger-1.2.0.tar.gz 81340 SHA256 39024b70708be6073e8aeb3943eb3b73d441fbb7b8113e145c0cf7540c4921aa
+DIST blazeblogger-doc-1.2.0.tar.gz 191467 SHA256 a1591f88b245114dea421268f0c4938f1c1a7fa0ba94316f886e0014e20736bc
diff --git a/www-apps/blazeblogger/blazeblogger-1.2.0-r1.ebuild b/www-apps/blazeblogger/blazeblogger-1.2.0-r1.ebuild
new file mode 100644
index 000000000000..d141fe2920d7
--- /dev/null
+++ b/www-apps/blazeblogger/blazeblogger-1.2.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="simple-to-use, capable content management system for the cmdline producing static content"
+HOMEPAGE="http://blaze.blackened.cz/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz
+ doc? ( http://${PN}.googlecode.com/files/${PN}-doc-${PV}.tar.gz ) "
+
+LICENSE="FDL-1.3 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="dev-lang/perl"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -e '/-m 644 COPYING/d' \
+ -e '/-m 644 INSTALL/d' \
+ -i Makefile || die
+
+ epatch "${FILESDIR}"/${P}-bash-completion.patch #bug 417953
+}
+
+src_install() {
+ emake prefix="${D}/usr" config="${D}/etc" \
+ compdir="${D}/usr/share/bash-completion" install
+
+ use doc && dohtml -r "${WORKDIR}"/${PN}-doc-${PV}/*
+}
diff --git a/www-apps/blazeblogger/blazeblogger-1.2.0.ebuild b/www-apps/blazeblogger/blazeblogger-1.2.0.ebuild
new file mode 100644
index 000000000000..a712acde9fc3
--- /dev/null
+++ b/www-apps/blazeblogger/blazeblogger-1.2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="simple-to-use, capable content management system for the cmdline producing static content"
+HOMEPAGE="http://blaze.blackened.cz/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz
+ doc? ( http://${PN}.googlecode.com/files/${PN}-doc-${PV}.tar.gz ) "
+
+LICENSE="FDL-1.3 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="dev-lang/perl"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -e '/-m 644 COPYING/d' \
+ -e '/-m 644 INSTALL/d' \
+ -i Makefile || die
+}
+
+src_install() {
+ emake prefix="${D}/usr" config="${D}/etc" install
+
+ use doc && dohtml -r "${WORKDIR}"/${PN}-doc-${PV}/*
+}
diff --git a/www-apps/blazeblogger/files/blazeblogger-1.2.0-bash-completion.patch b/www-apps/blazeblogger/files/blazeblogger-1.2.0-bash-completion.patch
new file mode 100644
index 000000000000..8c13ed8086fb
--- /dev/null
+++ b/www-apps/blazeblogger/files/blazeblogger-1.2.0-bash-completion.patch
@@ -0,0 +1,83 @@
+--- blazeblogger-1.2.0/unix/bash_completion
++++ blazeblogger-1.2.0/unix/bash_completion
+@@ -103,7 +103,7 @@
+ # argument completions
+ case "$prev" in
+ -b|--blogdir)
+- COMPREPLY=( $(compgen -d -- ${cur}) )
++ _filedir -d
+ return 0
+ ;;
+ *)
+@@ -131,7 +131,7 @@
+ # argument completions
+ case "$prev" in
+ -b|--blogdir)
+- COMPREPLY=( $(compgen -d -- ${cur}) )
++ _filedir -d
+ return 0
+ ;;
+ -E|--editor)
+@@ -166,7 +166,7 @@
+ # argument completions
+ case "$prev" in
+ -b|--blogdir)
+- COMPREPLY=( $(compgen -d -- ${cur}) )
++ _filedir -d
+ return 0
+ ;;
+ -d|--date)
+@@ -187,7 +187,7 @@
+ COMPREPLY=( $(compgen -W "${specopts}" -- ${cur}) )
+ return 0
+ else
+- COMPREPLY=( $(compgen -f -- ${cur}) )
++ _filedir
+ return 0
+ fi
+ ;;
+@@ -200,7 +200,7 @@
+ # argument completions
+ case "$prev" in
+ -b|--blogdir)
+- COMPREPLY=( $(compgen -d -- ${cur}) )
++ _filedir -d
+ return 0
+ ;;
+ -E|--editor)
+@@ -227,7 +227,7 @@
+ # argument completions
+ case "$prev" in
+ -b|--blogdir)
+- COMPREPLY=( $(compgen -d -- ${cur}) )
++ _filedir -d
+ return 0
+ ;;
+ *)
+@@ -252,7 +252,7 @@
+ # argument completions
+ case "$prev" in
+ -b|--blogdir)
+- COMPREPLY=( $(compgen -d -- ${cur}) )
++ _filedir -d
+ return 0
+ ;;
+ -d|--day)
+@@ -292,7 +292,7 @@
+ # argument completions
+ case "$prev" in
+ -b|--blogdir|-d|--destdir)
+- COMPREPLY=( $(compgen -d -- ${cur}) )
++ _filedir -d
+ return 0
+ ;;
+ *)
+@@ -315,7 +315,7 @@
+ # argument completions
+ case "$prev" in
+ -b|--blogdir)
+- COMPREPLY=( $(compgen -d -- ${cur}) )
++ _filedir -d
+ return 0
+ ;;
+ -n|--number)
diff --git a/www-apps/blazeblogger/metadata.xml b/www-apps/blazeblogger/metadata.xml
new file mode 100644
index 000000000000..27aeb4d46934
--- /dev/null
+++ b/www-apps/blazeblogger/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>
+ <email>xmw@gentoo.org</email>
+ <name>Michael Weber</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="google-code">blazeblogger</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/blohg-tumblelog/Manifest b/www-apps/blohg-tumblelog/Manifest
new file mode 100644
index 000000000000..d250a3f1bf7c
--- /dev/null
+++ b/www-apps/blohg-tumblelog/Manifest
@@ -0,0 +1 @@
+DIST blohg-tumblelog-0.2.tar.gz 11046 SHA256 89d8cdc4fe7c2e058f657a8986123219a65a2b8caa404bec7423e93988976b04 SHA512 c9819c503751f4b6dc5f53b2f16206912424fe51eee4c76da5331e1ee1847066f4c758e98ec6fae98b0e0dfe33d5a37ce5f4ea2ea3abba0fd276cde242489792 WHIRLPOOL 744ab5d1d81faa44d79d9785caf1fef522fbc74f8a1c697cfccb64f5d72e25931d0be55337715111a11cedf3512be940973cca7363ff127d10d6a8789bc78a6d
diff --git a/www-apps/blohg-tumblelog/blohg-tumblelog-0.2.ebuild b/www-apps/blohg-tumblelog/blohg-tumblelog-0.2.ebuild
new file mode 100644
index 000000000000..d63bafd8c7f1
--- /dev/null
+++ b/www-apps/blohg-tumblelog/blohg-tumblelog-0.2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="A blohg extension with reStructuredText directives to run a tumblelog"
+HOMEPAGE="https://github.com/rafaelmartins/blohg-tumblelog"
+
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+if [[ ${PV} = *9999* ]]; then
+ SRC_URI=
+ KEYWORDS=
+ EGIT_REPO_URI="git://github.com/rafaelmartins/blohg-tumblelog.git
+ https://github.com/rafaelmartins/blohg-tumblelog.git"
+ inherit git-r3
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ >=www-apps/blohg-0.12
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/pyoembed[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
diff --git a/www-apps/blohg-tumblelog/blohg-tumblelog-9999.ebuild b/www-apps/blohg-tumblelog/blohg-tumblelog-9999.ebuild
new file mode 100644
index 000000000000..d63bafd8c7f1
--- /dev/null
+++ b/www-apps/blohg-tumblelog/blohg-tumblelog-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="A blohg extension with reStructuredText directives to run a tumblelog"
+HOMEPAGE="https://github.com/rafaelmartins/blohg-tumblelog"
+
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+if [[ ${PV} = *9999* ]]; then
+ SRC_URI=
+ KEYWORDS=
+ EGIT_REPO_URI="git://github.com/rafaelmartins/blohg-tumblelog.git
+ https://github.com/rafaelmartins/blohg-tumblelog.git"
+ inherit git-r3
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND="
+ >=www-apps/blohg-0.12
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/pyoembed[${PYTHON_USEDEP}]
+ dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
diff --git a/www-apps/blohg-tumblelog/metadata.xml b/www-apps/blohg-tumblelog/metadata.xml
new file mode 100644
index 000000000000..1f2cb18711c3
--- /dev/null
+++ b/www-apps/blohg-tumblelog/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>
+ <email>rafaelmartins@gentoo.org</email>
+ <name>Rafael G. Martins</name>
+ </maintainer>
+ <longdescription lang="en">
+ A blohg extension with reStructuredText directives to run a tumblelog.
+ </longdescription>
+ <upstream>
+ <maintainer status="active">
+ <email>rafaelmartins@gentoo.org</email>
+ <name>Rafael G. Martins</name>
+ </maintainer>
+ <bugs-to>mailto:blohg@librelist.com</bugs-to>
+ <remote-id type="pypi">blohg-tumblelog</remote-id>
+ <remote-id type="github">rafaelmartins/blohg-tumblelog</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/blohg/Manifest b/www-apps/blohg/Manifest
new file mode 100644
index 000000000000..bff6ee2bc5fa
--- /dev/null
+++ b/www-apps/blohg/Manifest
@@ -0,0 +1 @@
+DIST blohg-0.13.tar.gz 75003 SHA256 34d10db8bdadee16931cadbdec904508e61d8f862b143f3a9e224171d92d0579 SHA512 de8643e85e3f72827408d726bbe2f8674dcc6dcf1efdc47d33a934892071f8365cb54e63a6adb803361c7fd04032b2ac4e786c442676e8a8132b6d3221696865 WHIRLPOOL b3396dfca37ff4279ece72d62c413cd590f7106c2d8aaeeaf0c46eba16c8a5f803955385052d557c39478ef71c37936a6204dccfb8db6384e9071ba346ee35f1
diff --git a/www-apps/blohg/blohg-0.13.ebuild b/www-apps/blohg/blohg-0.13.ebuild
new file mode 100644
index 000000000000..bfb7fc0b2a96
--- /dev/null
+++ b/www-apps/blohg/blohg-0.13.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+GIT_ECLASS=""
+if [[ ${PV} = *9999* ]]; then
+ GIT_ECLASS="git-r3"
+ EGIT_REPO_URI="git://github.com/rafaelmartins/blohg.git
+ https://github.com/rafaelmartins/blohg"
+fi
+
+inherit distutils-r1 ${GIT_ECLASS}
+
+DESCRIPTION="A Mercurial (or Git) based blogging engine"
+HOMEPAGE="http://blohg.org/ http://pypi.python.org/pypi/blohg"
+
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+if [[ ${PV} = *9999* ]]; then
+ SRC_URI=""
+ KEYWORDS=""
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc git +mercurial test"
+
+REQUIRED_USE="|| ( git mercurial )
+ test? ( git mercurial )"
+
+RDEPEND="
+ =dev-python/click-2.0
+ =dev-python/docutils-0.11*
+ >=dev-python/flask-0.10.1
+ >=dev-python/flask-babel-0.7
+ >=dev-python/frozen-flask-0.7
+ >=dev-python/jinja-2.5.2
+ dev-python/pyyaml
+ dev-python/setuptools
+ dev-python/pygments
+ git? ( =dev-python/pygit2-0.20* )
+ mercurial? ( >=dev-vcs/mercurial-1.6 )"
+
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )
+ test? ( dev-python/mock )"
+
+python_prepare_all() {
+ if ! use git; then
+ rm -rf blohg/vcs_backends/git || die 'rm failed'
+ fi
+
+ if ! use mercurial; then
+ rm -rf blohg/vcs_backends/hg || die 'rm failed'
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_install_all() {
+ use doc && HTML_DOCS=( docs/_build/html/. )
+ distutils-r1_python_install_all
+}
+
+python_test() {
+ esetup.py test
+}
+
+pkg_postinst() {
+ local ver="${PV}"
+ [[ ${PV} = *9999* ]] && ver="latest"
+
+ elog "You may want to check the upgrade notes:"
+ elog "http://docs.blohg.org/en/${ver}/upgrade/"
+}
diff --git a/www-apps/blohg/blohg-9999.ebuild b/www-apps/blohg/blohg-9999.ebuild
new file mode 100644
index 000000000000..3352606a2240
--- /dev/null
+++ b/www-apps/blohg/blohg-9999.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+GIT_ECLASS=""
+if [[ ${PV} = *9999* ]]; then
+ GIT_ECLASS="git-r3"
+ EGIT_REPO_URI="git://github.com/rafaelmartins/blohg.git
+ https://github.com/rafaelmartins/blohg"
+fi
+
+inherit distutils-r1 ${GIT_ECLASS}
+
+DESCRIPTION="A Mercurial (or Git) based blogging engine"
+HOMEPAGE="http://blohg.org/ http://pypi.python.org/pypi/blohg"
+
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+KEYWORDS="~amd64 ~x86"
+if [[ ${PV} = *9999* ]]; then
+ SRC_URI=""
+ KEYWORDS=""
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="doc git +mercurial test"
+
+REQUIRED_USE="|| ( git mercurial )
+ test? ( git mercurial )"
+
+RDEPEND="
+ >=dev-python/click-2.0
+ >=dev-python/docutils-0.11
+ >=dev-python/flask-0.10.1
+ >=dev-python/flask-babel-0.7
+ >=dev-python/frozen-flask-0.7
+ >=dev-python/jinja-2.5.2
+ dev-python/pyyaml
+ dev-python/setuptools
+ dev-python/pygments
+ git? ( =dev-python/pygit2-0.21* )
+ mercurial? ( >=dev-vcs/mercurial-1.6 )"
+
+DEPEND="${RDEPEND}
+ doc? ( dev-python/sphinx )
+ test? ( dev-python/mock )"
+
+python_prepare_all() {
+ if ! use git; then
+ rm -rf blohg/vcs_backends/git || die 'rm failed'
+ fi
+
+ if ! use mercurial; then
+ rm -rf blohg/vcs_backends/hg || die 'rm failed'
+ fi
+
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_install_all() {
+ use doc && HTML_DOCS=( docs/_build/html/. )
+ distutils-r1_python_install_all
+}
+
+python_test() {
+ esetup.py test
+}
+
+pkg_postinst() {
+ local ver="${PV}"
+ [[ ${PV} = *9999* ]] && ver="latest"
+
+ elog "You may want to check the upgrade notes:"
+ elog "http://docs.blohg.org/en/${ver}/upgrade/"
+}
diff --git a/www-apps/blohg/metadata.xml b/www-apps/blohg/metadata.xml
new file mode 100644
index 000000000000..f7cb22f5c7ee
--- /dev/null
+++ b/www-apps/blohg/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>
+ <email>rafaelmartins@gentoo.org</email>
+ <name>Rafael G. Martins</name>
+ </maintainer>
+ <longdescription lang="en">
+ blohg is a Mercurial (or Git) based blogging engine written in Python,
+ built with the Flask micro-framework and some of his available extensions.
+ All the content of the blogs are stored inside repositories and the
+ repository history is used for build the posts and pages. blohg uses
+ Jinja2 as template engine.
+ </longdescription>
+ <upstream>
+ <maintainer status="active">
+ <email>rafaelmartins@gentoo.org</email>
+ <name>Rafael G. Martins</name>
+ </maintainer>
+ <bugs-to>mailto:blohg@librelist.com</bugs-to>
+ <remote-id type="pypi">blohg</remote-id>
+ </upstream>
+ <use>
+ <flag name="git">Enable Git support</flag>
+ <flag name="mercurial">Enable Mercurial support</flag>
+ </use>
+</pkgmetadata>
diff --git a/www-apps/browser-config/Manifest b/www-apps/browser-config/Manifest
new file mode 100644
index 000000000000..bb4f5a3e71fa
--- /dev/null
+++ b/www-apps/browser-config/Manifest
@@ -0,0 +1 @@
+DIST browser-config-1.1.tar.bz2 2013 RMD160 ba4ee3f0dd33dfb3856b0f40090d3738ed1a6abe SHA1 281336d06104ee13241015c7ff422bd9ee1fe820 SHA256 b1ea190482ebb2187d5ef3b274c714085caa97aea41529e9d12c097e21d2b425
diff --git a/www-apps/browser-config/browser-config-1.1.ebuild b/www-apps/browser-config/browser-config-1.1.ebuild
new file mode 100644
index 000000000000..c49eb0f2debe
--- /dev/null
+++ b/www-apps/browser-config/browser-config-1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="A lightweight modular configurable http url handler/browser launcher"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="ppc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_install() {
+ into /usr
+ dobin browser-config
+ dosym /usr/bin/browser-config /usr/bin/runbrowser
+ insinto /usr/share/browser-config
+ doins definitions/*
+}
+
+pkg_postinst() {
+ elog "Please run browser-config -b <browser> -m <method>"
+ elog "If run as root, it will be global, if run as a user it will be for"
+ elog "that user only."
+ elog
+ elog "Please see browser-config -h for info on available browsers/methods"
+ elog
+ elog "You may then tell your applications to use either 'runbrowser' or"
+ elog "'browser-config' as a browser."
+ elog
+}
diff --git a/www-apps/browser-config/metadata.xml b/www-apps/browser-config/metadata.xml
new file mode 100644
index 000000000000..59e2b8f78cb5
--- /dev/null
+++ b/www-apps/browser-config/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>
+ <email>maintainer-needed@gentoo.org</email>
+ <name>Default assignee for orphaned packages</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apps/bugzilla/Manifest b/www-apps/bugzilla/Manifest
new file mode 100644
index 000000000000..ed04c2ba0ee7
--- /dev/null
+++ b/www-apps/bugzilla/Manifest
@@ -0,0 +1,3 @@
+DIST bugzilla-4.0.15.tar.gz 2875815 SHA256 4751da395f1d439505e07b80a36120186cf3d1f02c8505293d76eb66eeb3c779 SHA512 4394268dbf5a82e1693d63661296650155b8b44e39c69d06997c0e07fb71f1421050992b75240e13a9d149f847a38be9c354e95471c98328e3019136f2019a02 WHIRLPOOL dd81e4fa0cad2194d011d1fab15fed0b44d80be5c3f527fcf9925d4bdc93890e2994c703ee1e9fe76b2ce5f71900bbfc45d416b27cbd81f67d2dcc78edb511a8
+DIST bugzilla-4.2.11.tar.gz 2955315 SHA256 b3f94024a405469b62fb1aec47cea25fb4d52c8e6009b2723c43c7d9442c7d17 SHA512 80c400c6887e4dd15201de61651dabcf709a019c3a17323d94a845ae899bcbe43d81ca46f1ae2e41a173e1a06e4d4edc147cfd62dbce08a23df90a6f8c21631c WHIRLPOOL a1445cbd05fd9730ffbe70e2f9740e64ee9b7e5344c4ade77f7237fbefde698bd598f95af5dedabc4ca581465f6be681a700ef329216fbeec107d8c5f29f1a38
+DIST bugzilla-4.4.6.tar.gz 2956046 SHA256 ac3547195f2ce156488aac2cc537620775e08a9d888441daab2b40ab66ab01f4 SHA512 af95af117f7d5ada390a94716f1d3ed9b97e06f47c028c57635b2b4a720827e4749bee23842b7ff7d3a2ee8cc6257ccf2dc2b135c821838e78a31ceb63ce1b68 WHIRLPOOL 90daa07e1f9c064f4954d413348af958544091ffa71e27d0fb8ba7e4265a96e8d1d6e5903edd71e90ddd34f9c6a44d1cdab3e7bc2db2c97cb576182692be8743
diff --git a/www-apps/bugzilla/bugzilla-4.0.15.ebuild b/www-apps/bugzilla/bugzilla-4.0.15.ebuild
new file mode 100644
index 000000000000..b2bd4033fbc9
--- /dev/null
+++ b/www-apps/bugzilla/bugzilla-4.0.15.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp depend.apache versionator eutils
+
+#MY_PB=$(get_version_component_range 1-2)
+MY_PB="4.0"
+
+DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
+SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz"
+HOMEPAGE="http://www.bugzilla.org"
+
+LICENSE="MPL-1.1"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="modperl extras graphviz mysql postgres sqlite test"
+
+COMMON_DEPS="
+ >=dev-lang/perl-5.8.8
+
+ >=dev-perl/CGI-3.510
+ virtual/perl-Digest-SHA
+ >=dev-perl/TimeDate-1.16
+ >=dev-perl/DateTime-0.50
+ >=dev-perl/DateTime-TimeZone-0.71
+ >=dev-perl/DBI-1.601
+ >=dev-perl/Template-Toolkit-2.22
+ >=dev-perl/Email-Send-2.190
+ >=dev-perl/Email-MIME-1.904
+ dev-perl/URI
+ >=dev-perl/List-MoreUtils-0.22
+
+ virtual/perl-File-Path
+ virtual/perl-Scalar-List-Utils
+
+ >=virtual/perl-File-Spec-3.27.01
+ >=virtual/perl-MIME-Base64-3.07
+
+ dev-perl/Math-Random-Secure
+"
+
+DEPEND="test? ( ${COMMON_DEPS} )"
+RDEPEND="
+ virtual/httpd-cgi
+
+ ${COMMON_DEPS}
+
+ postgres? ( >=dev-perl/DBD-Pg-1.49 )
+ mysql? ( >=dev-perl/DBD-mysql-4.00.5 )
+ sqlite? ( >=dev-perl/DBD-SQLite-1.29 )
+
+ extras? (
+ >=dev-perl/GD-2.35[png,truetype]
+ >=dev-perl/Chart-2.4.1
+ dev-perl/Template-GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ dev-perl/XML-Twig
+ >=dev-perl/MIME-tools-5.427
+ dev-perl/libwww-perl
+ >=dev-perl/PatchReader-0.9.6
+ dev-perl/perl-ldap
+ dev-perl/RadiusPerl
+ dev-perl/Authen-SASL
+ >=dev-perl/SOAP-Lite-0.712
+ dev-perl/JSON-RPC
+ >=dev-perl/JSON-XS-2.0
+ dev-perl/Test-Taint
+ >=dev-perl/HTML-Parser-3.67
+ dev-perl/HTML-Scrubber
+ >=virtual/perl-Encode-2.21
+ dev-perl/Encode-Detect
+ dev-perl/Email-MIME-Attachment-Stripper
+ dev-perl/Email-Reply
+ dev-perl/TheSchwartz
+ dev-perl/Daemon-Generic
+ dev-perl/File-MimeInfo
+
+ || ( media-gfx/imagemagick[perl] media-gfx/graphicsmagick[imagemagick,perl] )
+ dev-perl/MIME-tools
+ )
+
+ modperl? (
+ www-apache/mod_perl:1
+ >=dev-perl/Apache-SizeLimit-0.96
+ )
+
+ graphviz? ( media-gfx/graphviz )
+"
+
+# RadiusPerl for extras? bug 252128
+
+want_apache modperl
+
+pkg_setup() {
+ depend.apache_pkg_setup modperl
+ webapp_pkg_setup
+}
+
+src_prepare() {
+ # Get a rid of the bzr files
+ rm -rf .bzr*
+
+ # Remove bundled perl modules
+ rm -rf lib/
+}
+
+src_test() {
+ # Shall we remove runtests.pl and t/,xt/ on install?
+ perl runtests.pl || die
+}
+
+src_install () {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r . || die
+ doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die
+
+ webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig
+ webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt
+ webapp_src_install
+
+ if use extras; then
+ newconfd "${FILESDIR}"/${MY_PB}/bugzilla-queue.confd bugzilla-queue || die
+ newinitd "${FILESDIR}"/${MY_PB}/bugzilla-queue.initd bugzilla-queue || die
+ fi
+
+ # bug #124282
+ chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi
+
+ chmod u+x "${D}${MY_HTDOCSDIR}"/jobqueue.pl
+
+ # configuration must be executable
+ chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl
+
+ # bug 487476
+ mkdir "${D}${MY_HTDOCSDIR}"/lib
+}
diff --git a/www-apps/bugzilla/bugzilla-4.2.11.ebuild b/www-apps/bugzilla/bugzilla-4.2.11.ebuild
new file mode 100644
index 000000000000..5a29bfb59a84
--- /dev/null
+++ b/www-apps/bugzilla/bugzilla-4.2.11.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp depend.apache versionator eutils
+
+#MY_PB=$(get_version_component_range 1-2)
+MY_PB="4.0"
+
+DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
+SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz"
+HOMEPAGE="http://www.bugzilla.org"
+
+LICENSE="MPL-1.1"
+KEYWORDS="amd64 x86"
+
+IUSE="modperl extras graphviz mysql postgres sqlite test"
+
+COMMON_DEPS="
+ >=dev-lang/perl-5.8.8
+
+ >=dev-perl/CGI-3.510
+ virtual/perl-Digest-SHA
+ >=dev-perl/TimeDate-1.16
+ >=dev-perl/DateTime-0.50
+ >=dev-perl/DateTime-TimeZone-0.71
+ >=dev-perl/DBI-1.601
+ >=dev-perl/Template-Toolkit-2.22
+ >=dev-perl/Email-Send-2.190
+ >=dev-perl/Email-MIME-1.904
+ dev-perl/URI
+ >=dev-perl/List-MoreUtils-0.22
+
+ virtual/perl-File-Path
+ virtual/perl-Scalar-List-Utils
+
+ >=virtual/perl-File-Spec-3.27.01
+ >=virtual/perl-MIME-Base64-3.07
+
+ dev-perl/Math-Random-ISAAC
+"
+
+DEPEND="test? ( ${COMMON_DEPS} )"
+RDEPEND="
+ virtual/httpd-cgi
+
+ ${COMMON_DEPS}
+
+ postgres? ( >=dev-perl/DBD-Pg-1.49 )
+ mysql? ( >=dev-perl/DBD-mysql-4.00.5 )
+ sqlite? ( >=dev-perl/DBD-SQLite-1.29 )
+
+ extras? (
+ >=dev-perl/GD-2.35[png,truetype]
+ >=dev-perl/Chart-2.4.1
+ dev-perl/Template-GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ dev-perl/XML-Twig
+ >=dev-perl/MIME-tools-5.427
+ dev-perl/libwww-perl
+ >=dev-perl/PatchReader-0.9.6
+ dev-perl/perl-ldap
+ dev-perl/RadiusPerl
+ dev-perl/Authen-SASL
+ >=dev-perl/SOAP-Lite-0.712
+ dev-perl/JSON-RPC
+ >=dev-perl/JSON-XS-2.0
+ dev-perl/Test-Taint
+ >=dev-perl/HTML-Parser-3.67
+ dev-perl/HTML-Scrubber
+ >=virtual/perl-Encode-2.21
+ dev-perl/Encode-Detect
+ dev-perl/Email-MIME-Attachment-Stripper
+ dev-perl/Email-Reply
+ dev-perl/TheSchwartz
+ dev-perl/Daemon-Generic
+ dev-perl/File-MimeInfo
+
+ || ( media-gfx/imagemagick[perl] media-gfx/graphicsmagick[imagemagick,perl] )
+ dev-perl/MIME-tools
+ )
+
+ modperl? (
+ www-apache/mod_perl:1
+ >=dev-perl/Apache-SizeLimit-0.96
+ )
+
+ graphviz? ( media-gfx/graphviz )
+"
+
+# RadiusPerl for extras? bug 252128
+
+want_apache modperl
+
+pkg_setup() {
+ depend.apache_pkg_setup modperl
+ webapp_pkg_setup
+}
+
+src_prepare() {
+ # Get a rid of the bzr files
+ rm -rf .bzr*
+
+ # Remove bundled perl modules
+ rm -rf lib/
+}
+
+src_test() {
+ # Shall we remove runtests.pl and t/,xt/ on install?
+ perl runtests.pl || die
+}
+
+src_install () {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r . || die
+ doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die
+
+ webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig
+ webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt
+ webapp_src_install
+
+ if use extras; then
+ newconfd "${FILESDIR}"/${MY_PB}/bugzilla-queue.confd bugzilla-queue || die
+ newinitd "${FILESDIR}"/${MY_PB}/bugzilla-queue.initd bugzilla-queue || die
+ fi
+
+ # bug #124282
+ chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi
+
+ chmod u+x "${D}${MY_HTDOCSDIR}"/jobqueue.pl
+
+ # configuration must be executable
+ chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl
+
+ # bug 487476
+ mkdir "${D}${MY_HTDOCSDIR}"/lib
+}
diff --git a/www-apps/bugzilla/bugzilla-4.4.6.ebuild b/www-apps/bugzilla/bugzilla-4.4.6.ebuild
new file mode 100644
index 000000000000..5a29bfb59a84
--- /dev/null
+++ b/www-apps/bugzilla/bugzilla-4.4.6.ebuild
@@ -0,0 +1,142 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp depend.apache versionator eutils
+
+#MY_PB=$(get_version_component_range 1-2)
+MY_PB="4.0"
+
+DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
+SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz"
+HOMEPAGE="http://www.bugzilla.org"
+
+LICENSE="MPL-1.1"
+KEYWORDS="amd64 x86"
+
+IUSE="modperl extras graphviz mysql postgres sqlite test"
+
+COMMON_DEPS="
+ >=dev-lang/perl-5.8.8
+
+ >=dev-perl/CGI-3.510
+ virtual/perl-Digest-SHA
+ >=dev-perl/TimeDate-1.16
+ >=dev-perl/DateTime-0.50
+ >=dev-perl/DateTime-TimeZone-0.71
+ >=dev-perl/DBI-1.601
+ >=dev-perl/Template-Toolkit-2.22
+ >=dev-perl/Email-Send-2.190
+ >=dev-perl/Email-MIME-1.904
+ dev-perl/URI
+ >=dev-perl/List-MoreUtils-0.22
+
+ virtual/perl-File-Path
+ virtual/perl-Scalar-List-Utils
+
+ >=virtual/perl-File-Spec-3.27.01
+ >=virtual/perl-MIME-Base64-3.07
+
+ dev-perl/Math-Random-ISAAC
+"
+
+DEPEND="test? ( ${COMMON_DEPS} )"
+RDEPEND="
+ virtual/httpd-cgi
+
+ ${COMMON_DEPS}
+
+ postgres? ( >=dev-perl/DBD-Pg-1.49 )
+ mysql? ( >=dev-perl/DBD-mysql-4.00.5 )
+ sqlite? ( >=dev-perl/DBD-SQLite-1.29 )
+
+ extras? (
+ >=dev-perl/GD-2.35[png,truetype]
+ >=dev-perl/Chart-2.4.1
+ dev-perl/Template-GD
+ dev-perl/GDTextUtil
+ dev-perl/GDGraph
+ dev-perl/XML-Twig
+ >=dev-perl/MIME-tools-5.427
+ dev-perl/libwww-perl
+ >=dev-perl/PatchReader-0.9.6
+ dev-perl/perl-ldap
+ dev-perl/RadiusPerl
+ dev-perl/Authen-SASL
+ >=dev-perl/SOAP-Lite-0.712
+ dev-perl/JSON-RPC
+ >=dev-perl/JSON-XS-2.0
+ dev-perl/Test-Taint
+ >=dev-perl/HTML-Parser-3.67
+ dev-perl/HTML-Scrubber
+ >=virtual/perl-Encode-2.21
+ dev-perl/Encode-Detect
+ dev-perl/Email-MIME-Attachment-Stripper
+ dev-perl/Email-Reply
+ dev-perl/TheSchwartz
+ dev-perl/Daemon-Generic
+ dev-perl/File-MimeInfo
+
+ || ( media-gfx/imagemagick[perl] media-gfx/graphicsmagick[imagemagick,perl] )
+ dev-perl/MIME-tools
+ )
+
+ modperl? (
+ www-apache/mod_perl:1
+ >=dev-perl/Apache-SizeLimit-0.96
+ )
+
+ graphviz? ( media-gfx/graphviz )
+"
+
+# RadiusPerl for extras? bug 252128
+
+want_apache modperl
+
+pkg_setup() {
+ depend.apache_pkg_setup modperl
+ webapp_pkg_setup
+}
+
+src_prepare() {
+ # Get a rid of the bzr files
+ rm -rf .bzr*
+
+ # Remove bundled perl modules
+ rm -rf lib/
+}
+
+src_test() {
+ # Shall we remove runtests.pl and t/,xt/ on install?
+ perl runtests.pl || die
+}
+
+src_install () {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r . || die
+ doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die
+
+ webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig
+ webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt
+ webapp_src_install
+
+ if use extras; then
+ newconfd "${FILESDIR}"/${MY_PB}/bugzilla-queue.confd bugzilla-queue || die
+ newinitd "${FILESDIR}"/${MY_PB}/bugzilla-queue.initd bugzilla-queue || die
+ fi
+
+ # bug #124282
+ chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi
+
+ chmod u+x "${D}${MY_HTDOCSDIR}"/jobqueue.pl
+
+ # configuration must be executable
+ chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl
+
+ # bug 487476
+ mkdir "${D}${MY_HTDOCSDIR}"/lib
+}
diff --git a/www-apps/bugzilla/files/4.0/bugzilla-queue.confd b/www-apps/bugzilla/files/4.0/bugzilla-queue.confd
new file mode 100644
index 000000000000..2eec355a0986
--- /dev/null
+++ b/www-apps/bugzilla/files/4.0/bugzilla-queue.confd
@@ -0,0 +1,4 @@
+#JOBQUEUE_USER=bugzilla
+#JOBQUEUE_GROUP=bugzilla
+
+JOBQUEUE_PATH=/var/www/bugzilla/jobqueue.pl
diff --git a/www-apps/bugzilla/files/4.0/bugzilla-queue.initd b/www-apps/bugzilla/files/4.0/bugzilla-queue.initd
new file mode 100644
index 000000000000..f4038abd8d59
--- /dev/null
+++ b/www-apps/bugzilla/files/4.0/bugzilla-queue.initd
@@ -0,0 +1,39 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+PIDFILE="/var/run/bugzilla/${SVCNAME}.pid"
+JOBQUEUE_USER=${JOBQUEUE_USER:-root}
+JOBQUEUE_GROUP=${JOBQUEUE_GROUP:-root}
+
+checkconfig() {
+ [[ -z "${JOBQUEUE_USER}" || -z "$(getent passwd ${JOBQUEUE_USER})" ]] && { eerror "JOBQUEUE_USER not set or doesn't exist"; return 1; }
+ [[ -z "${JOBQUEUE_GROUP}" || -z "$(getent group ${JOBQUEUE_GROUP})" ]] && { eerror "JOBQUEUE_GROUP not set or doesn't exist"; return 1; }
+ [[ -z "${JOBQUEUE_PATH}" && ! -x "${JOBQUEUE_PATH}" ]] && { eerror "JOBQUEUE_PATH not set or not executable"; return 1; }
+ return 0
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+ checkconfig || return 1
+
+ piddir="${PIDFILE%/*}"
+ if [ ! -d "${piddir}" ]; then
+ checkpath -q -d -o $JOBQUEUE_USER:$JOBQUEUE_GROUP -m 0770 "${piddir}" || {
+ eend 1
+ return 1
+ }
+ fi
+
+ start-stop-daemon --start --pidfile $PIDFILE --user $JOBQUEUE_USER --group $JOBQUEUE_GROUP \
+ --exec $JOBQUEUE_PATH -- -p $PIDFILE -n $SVCNAME start 1>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+ checkconfig || return 1
+ start-stop-daemon --pidfile $PIDFILE --stop --exec $JOBQUEUE_PATH -- -p $PIDFILE -n $SVCNAME stop
+ eend $?
+}
diff --git a/www-apps/bugzilla/files/4.0/bugzilla.cron.daily b/www-apps/bugzilla/files/4.0/bugzilla.cron.daily
new file mode 100644
index 000000000000..e3e86589891d
--- /dev/null
+++ b/www-apps/bugzilla/files/4.0/bugzilla.cron.daily
@@ -0,0 +1,5 @@
+#!/bin/sh
+cd /var/www/bugzilla/
+./collectstats.pl
+./whineatnews.pl
+echo "*** Bugzilla nighlty flush has done! ***"
diff --git a/www-apps/bugzilla/files/4.0/bugzilla.cron.tab b/www-apps/bugzilla/files/4.0/bugzilla.cron.tab
new file mode 100644
index 000000000000..3cf2d4a66240
--- /dev/null
+++ b/www-apps/bugzilla/files/4.0/bugzilla.cron.tab
@@ -0,0 +1 @@
+0 0 * * * /var/www/bugzilla/bugzilla.cron.daily
diff --git a/www-apps/bugzilla/files/4.0/postinstall-en.txt b/www-apps/bugzilla/files/4.0/postinstall-en.txt
new file mode 100644
index 000000000000..2d18de0b810f
--- /dev/null
+++ b/www-apps/bugzilla/files/4.0/postinstall-en.txt
@@ -0,0 +1,13 @@
+0. Bugzilla has been installed into ${MY_INSTALLDIR}
+
+1. To finish the installation, please read
+ http://www.bugzilla.org/docs/${MY_PB}/en/html/installing-bugzilla.html
+ You will need to run ${MY_INSTALLDIR}/checksetup.pl
+
+2. Please read the Release Notes, especially if you are upgrading:
+ http://www.bugzilla.org/releases/${MY_PB}/release-notes.html
+
+3. Please note that Apache2 sets AllowOverride None by default. You may have
+ to edit it to process the .htaccess file provided by Bugzilla. Please see
+ http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride and
+ http://www.bugzilla.org/docs/${MY_PB}/en/html/configuration.html#http for more info.
diff --git a/www-apps/bugzilla/files/4.0/reconfig b/www-apps/bugzilla/files/4.0/reconfig
new file mode 100644
index 000000000000..71b0acea2585
--- /dev/null
+++ b/www-apps/bugzilla/files/4.0/reconfig
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+FILE="bugzilla.cron.daily bugzilla.cron.tab"
+
+function die ()
+{
+ echo
+ echo "***"
+ echo "*** Fatal error: $*"
+ echo "***"
+ exit 1
+}
+
+if [ $1 = "install" ]; then
+ cd "${MY_INSTALLDIR}" || die "Cannot find install dir ${MY_INSTALLDIR}"
+ sed -e "s|/var/www/bugzilla|${MY_INSTALLDIR}|g" -i ${FILE} || die "sed failed"
+else
+ echo "done."
+fi
diff --git a/www-apps/bugzilla/metadata.xml b/www-apps/bugzilla/metadata.xml
new file mode 100644
index 000000000000..5a628ae30a39
--- /dev/null
+++ b/www-apps/bugzilla/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>
+ <email>andrew@ahamilto.net</email>
+ <name>Andrew Hamilton</name>
+ <description>Maintainer. Assign bugs to him.</description>
+ </maintainer>
+ <maintainer>
+ <email>creffett@gentoo.org</email>
+ <name>Chris Reffett</name>
+ <description>Proxy maintainer. CC him on bugs.</description>
+ </maintainer>
+ <herd>web-apps</herd>
+ <herd>proxy-maintainers</herd>
+ <use>
+ <flag name="extras">Optional Perl modules</flag>
+ <flag name="modperl">Enable <pkg>www-apache/mod_perl</pkg> support</flag>
+ </use>
+</pkgmetadata>
diff --git a/www-apps/cgisysinfo/Manifest b/www-apps/cgisysinfo/Manifest
new file mode 100644
index 000000000000..cc2e11f06085
--- /dev/null
+++ b/www-apps/cgisysinfo/Manifest
@@ -0,0 +1 @@
+DIST cgisysinfo-0.4.1.tar.bz2 262016 SHA256 6284ad1b64a34827dc0ee4e7c2125ec843723b93cdf139e0d95215335e7533b8 SHA512 fd14339ea346f70c9b5632ae861ba006b70c5ff5849ebbd3b32bcedaf0a5865d411d6d0f251362baea515f0d64639d544779c3569574a710ed4967c9fa770909 WHIRLPOOL c651522b98b2bdef6c597b0842f39256450cb8b1d69e68e9896b56ab5dc5fd0d51c2057eb3b2f4d0a42e63fb5411ff86095d8362dd9a1711219ffbdccd1c8c7a
diff --git a/www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild b/www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild
new file mode 100644
index 000000000000..dd31918b8b5e
--- /dev/null
+++ b/www-apps/cgisysinfo/cgisysinfo-0.4.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+if [[ ${PV} = *9999* ]]; then
+ WANT_AUTOCONF="2.5"
+ WANT_AUTOMAKE="1.10"
+ inherit autotools mercurial
+ EHG_REPO_URI="http://hg.rafaelmartins.eng.br/cgisysinfo/"
+ KEYWORDS=""
+else
+ SRC_URI="http://distfiles.rafaelmartins.eng.br/${PN}/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="A small cgi utility to show basic system information"
+HOMEPAGE="http://projects.rafaelmartins.eng.br/cgisysinfo"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="fastcgi"
+
+DEPEND="fastcgi? ( dev-libs/fcgi )"
+RDEPEND="${DEPEND}"
+
+DOCS="README AUTHORS NEWS"
+
+src_prepare() {
+ [[ ${PV} = *9999* ]] && eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable fastcgi)
+}
diff --git a/www-apps/cgisysinfo/metadata.xml b/www-apps/cgisysinfo/metadata.xml
new file mode 100644
index 000000000000..4b0a8a6e7cff
--- /dev/null
+++ b/www-apps/cgisysinfo/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>
+ <email>rafaelmartins@gentoo.org</email>
+ <name>Rafael G. Martins</name>
+ </maintainer>
+ <longdescription lang="en">
+ cgisysinfo is a small CGI utility to show basic system information on Linux
+ machines.
+
+ cgisysinfo is useful for machines that run a webserver but not PHP, and was
+ tested with nginx + fcgiwrap. It should works with any CGI-capable web
+ server.
+ </longdescription>
+</pkgmetadata>
+
diff --git a/www-apps/cgit/Manifest b/www-apps/cgit/Manifest
new file mode 100644
index 000000000000..ddbee2b197be
--- /dev/null
+++ b/www-apps/cgit/Manifest
@@ -0,0 +1,8 @@
+DIST cgit-0.10.1.tar.xz 92156 SHA256 839ea3e330259b4b332a346007244f4b74d62c336352c272e4e9b8abd30d912d SHA512 3a6afe2eb47ed718b4c0661ffbd0905118b61f6f2f10723022a9fe7d2e4b2742fcc20fd2a5ecb68de6a22b55d1c9b679d4b7305f6d622d64fa4be66117a9ad02 WHIRLPOOL 0a0c79268e9788079a4dccac75e797deff37b3b562d9fcee7d82d0a7270cddfca6862852d2a3bbcdbd09444314bd7197a6833a71de564c50d08996dd1856f1b6
+DIST cgit-0.10.2.tar.xz 92216 SHA256 94598e6582752659598e8086d3e2b2a2081df89ac8397460f507b15e71264c8d SHA512 5f4a0b65a9a802f5a464224ad4773ce6c926d0e61bb53baa4270f923570d92674b2b1b0669a74eb0e25d2b5e7fc7f637b37037c2371ebd7a3437ce28d78d650f WHIRLPOOL 105a7232d26ed2f40d3920ab56233331766dcb12b42ff72b56466f03e4c81eb3a091e6474144c226c787e3736e0f8b27af1afc57ca5e05694249332eaf59e720
+DIST cgit-0.11.1.tar.xz 92788 SHA256 8cc83ee60a8dd7364dd00db06a5dce3dec607bbc316161faa660af2d56cb377c SHA512 109433cff6779e641cdccb9b64c1a6449d3daecc3b8371068f7fe609f68ea2148d0e6651aaea9c223f858d278e7e4deef7709f721190fc1b4133e346d0bdf81d WHIRLPOOL 1dcd8df5fe5afbe035b6ce42c59ee32e9ebc8f7e35b0c57afa6404f782baa5f7ab6ea4062e24d7a27fb90a624affff310cd8f5053dcdcb504c1c2deb877e24df
+DIST cgit-0.11.2.tar.xz 93556 SHA256 2e126e770693d7296c7eb5eb83b809410aef29870bfe8f54da072a3f4d813e3b SHA512 a29bce6e02c61bb2683ce96f867c3050c03dc9e45b5154507e92a30f9e436f61517eeff0c5b9023727e54a9212bf9bf6692a33e791e7883976a5349ae58c0c72 WHIRLPOOL 175d8f2bba90d52a6b88239973973b3bb14e7e3c1eb2be0e9be0edff910c8055cd6c3e3a020e4f55d00dd21e7b642f0453de809209c43fabac2d574d4daae07f
+DIST git-1.9.0.tar.xz 3381748 SHA256 38fd51f71acd8dfcedce2a231875a4836565c2da5567199e5f4b081dfc37f681 SHA512 06069d1c9e114823c1423398f0313b663b013362991e0da51816970ec73c34331fc4faa6d2d7ae19c855a641f08116a2632374c795198d7b95c7ffc41bc6f317 WHIRLPOOL 98ae23ca304aec206163b2bcecf7d7d529acf1d9c24765dad5b7f19f87cb59d8d41f282e907f9ba6633723beecd7e4fe8f9459bf92d8db9747f76c493a0814d9
+DIST git-2.0.1.tar.xz 3433780 SHA256 ab12a103523b430d8d3e26ac2e05e759bdb1349f10e13bba48bed98f45c6d4df SHA512 51307c395c012f65842a53850dbcb5bde90dfee8ea731eab9bc099b3b284254fdbe86df08ab6fcae7b25f82edd87e3edb1fee4e5af1d2a01f2bfdfb7306d6107 WHIRLPOOL efd26778248472a742bae5208476a101aed5aaf0d81d7c924a2e09c89e7e39dbec9fab34c77f1d35405ae9d7a30be6a4c1757d12bb7c45a1827ec2dbae9afd6d
+DIST git-2.3.1.tar.xz 3609908 SHA256 1acc4b051576143eb41d80f5675476629588c7c5fb4e6a1dc2c4590f47c498b7 SHA512 f113a9e8c7f9879088de6fa6bfbe9363f25eac279d5eb218ea1f5186cd1c45609760f498a5c066196b3a6e15dd931960e94dcdc14685e8ef1c5c72524113c0cf WHIRLPOOL f1c15ded4f4785d244a5242c823fcf8d63d1c3408c1a1696c99926fdbcab76e23e40d3ee8225925e786ce8eae7597a73a7f9f6cd8e5f1ef7d599ac8b254f9951
+DIST git-2.3.2.tar.xz 3613920 SHA256 18eb8462026a55ab34a657282e894bdaad331ea59bfebeba5eb45b27b58cf825 SHA512 57589edcfabb7b852c56808c3ed5a01746af7a8fd53af4f0a4c37ad23da42dd6a8d0d4c54ef8f944870b1fffd16aa1c76392eeb8a0b3ab2f881b58396395e765 WHIRLPOOL e73f4d051c96601e93ea0f66ce6085e42da9c7f315ff5c2e4a5ac28115372a154c865d7b56e964943e0d52a4c6d681a3b93446ee516b6e0af6c27c8c38e3b40e
diff --git a/www-apps/cgit/cgit-0.10.1.ebuild b/www-apps/cgit/cgit-0.10.1.ebuild
new file mode 100644
index 000000000000..d343254b598e
--- /dev/null
+++ b/www-apps/cgit/cgit-0.10.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+WEBAPP_MANUAL_SLOT="yes"
+
+inherit webapp eutils multilib user toolchain-funcs
+
+[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
+
+GIT_V="1.9.0"
+
+DESCRIPTION="a fast web-interface for git repositories"
+HOMEPAGE="http://git.zx2c4.com/cgit/about"
+SRC_URI="mirror://kernel/software/scm/git/git-${GIT_V}.tar.xz
+ http://git.zx2c4.com/cgit/snapshot/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc +highlight +lua +jit"
+
+RDEPEND="
+ dev-vcs/git
+ sys-libs/zlib
+ dev-libs/openssl:0
+ virtual/httpd-cgi
+ highlight? ( || ( dev-python/pygments app-text/highlight ) )
+ lua? ( jit? ( dev-lang/luajit ) !jit? ( dev-lang/lua ) )
+"
+# ebuilds without WEBAPP_MANUAL_SLOT="yes" are broken
+DEPEND="${RDEPEND}
+ !<www-apps/cgit-0.8.3.3
+ doc? ( app-text/docbook-xsl-stylesheets
+ >=app-text/asciidoc-8.5.1 )
+"
+
+pkg_setup() {
+ webapp_pkg_setup
+ enewuser "${PN}"
+}
+
+src_prepare() {
+ rmdir git || die
+ mv "${WORKDIR}"/git-"${GIT_V}" git || die
+
+ echo "prefix = ${EPREFIX}/usr" >> cgit.conf
+ echo "libdir = ${EPREFIX}/usr/$(get_libdir)" >> cgit.conf
+ echo "CGIT_SCRIPT_PATH = ${MY_CGIBINDIR}" >> cgit.conf
+ echo "CGIT_DATA_PATH = ${MY_HTDOCSDIR}" >> cgit.conf
+ echo "CACHE_ROOT = ${CGIT_CACHEDIR}" >> cgit.conf
+ echo "DESTDIR = ${D}" >> cgit.conf
+ if use lua; then
+ if use jit; then
+ echo "LUA_PKGCONFIG = luajit" >> cgit.conf
+ else
+ echo "LUA_PKGCONFIG = lua" >> cgit.conf
+ fi
+ else
+ echo "NO_LUA = 1" >> cgit.conf
+ fi
+}
+
+src_compile() {
+ emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+ use doc && emake V=1 doc-man
+}
+
+src_install() {
+ webapp_src_preinst
+
+ emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" install
+
+ insinto /etc
+ doins "${FILESDIR}"/cgitrc
+
+ dodoc README
+ use doc && doman cgitrc.5
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+
+ keepdir "${CGIT_CACHEDIR}"
+ fowners ${PN}:${PN} "${CGIT_CACHEDIR}"
+ fperms 700 "${CGIT_CACHEDIR}"
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+ ewarn "If you intend to run cgit using web server's user"
+ ewarn "you should change ${CGIT_CACHEDIR} permissions."
+}
diff --git a/www-apps/cgit/cgit-0.10.2.ebuild b/www-apps/cgit/cgit-0.10.2.ebuild
new file mode 100644
index 000000000000..d5bd0e581baa
--- /dev/null
+++ b/www-apps/cgit/cgit-0.10.2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WEBAPP_MANUAL_SLOT="yes"
+
+inherit webapp eutils multilib user toolchain-funcs
+
+[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
+
+GIT_V="2.0.1"
+
+DESCRIPTION="a fast web-interface for git repositories"
+HOMEPAGE="http://git.zx2c4.com/cgit/about"
+SRC_URI="mirror://kernel/software/scm/git/git-${GIT_V}.tar.xz
+ http://git.zx2c4.com/cgit/snapshot/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +highlight +lua +jit"
+
+RDEPEND="
+ dev-vcs/git
+ sys-libs/zlib
+ dev-libs/openssl:0
+ virtual/httpd-cgi
+ highlight? ( || ( dev-python/pygments app-text/highlight ) )
+ lua? ( jit? ( dev-lang/luajit ) !jit? ( dev-lang/lua ) )
+"
+# ebuilds without WEBAPP_MANUAL_SLOT="yes" are broken
+DEPEND="${RDEPEND}
+ !<www-apps/cgit-0.8.3.3
+ doc? ( app-text/docbook-xsl-stylesheets
+ >=app-text/asciidoc-8.5.1 )
+"
+
+pkg_setup() {
+ webapp_pkg_setup
+ enewuser "${PN}"
+}
+
+src_prepare() {
+ rmdir git || die
+ mv "${WORKDIR}"/git-"${GIT_V}" git || die
+
+ echo "prefix = ${EPREFIX}/usr" >> cgit.conf
+ echo "libdir = ${EPREFIX}/usr/$(get_libdir)" >> cgit.conf
+ echo "CGIT_SCRIPT_PATH = ${MY_CGIBINDIR}" >> cgit.conf
+ echo "CGIT_DATA_PATH = ${MY_HTDOCSDIR}" >> cgit.conf
+ echo "CACHE_ROOT = ${CGIT_CACHEDIR}" >> cgit.conf
+ echo "DESTDIR = ${D}" >> cgit.conf
+ if use lua; then
+ if use jit; then
+ echo "LUA_PKGCONFIG = luajit" >> cgit.conf
+ else
+ echo "LUA_PKGCONFIG = lua" >> cgit.conf
+ fi
+ else
+ echo "NO_LUA = 1" >> cgit.conf
+ fi
+}
+
+src_compile() {
+ emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+ use doc && emake V=1 doc-man
+}
+
+src_install() {
+ webapp_src_preinst
+
+ emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" install
+
+ insinto /etc
+ doins "${FILESDIR}"/cgitrc
+
+ dodoc README
+ use doc && doman cgitrc.5
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+
+ keepdir "${CGIT_CACHEDIR}"
+ fowners ${PN}:${PN} "${CGIT_CACHEDIR}"
+ fperms 700 "${CGIT_CACHEDIR}"
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+ ewarn "If you intend to run cgit using web server's user"
+ ewarn "you should change ${CGIT_CACHEDIR} permissions."
+}
diff --git a/www-apps/cgit/cgit-0.11.1-r1.ebuild b/www-apps/cgit/cgit-0.11.1-r1.ebuild
new file mode 100644
index 000000000000..69ff8b226fd9
--- /dev/null
+++ b/www-apps/cgit/cgit-0.11.1-r1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WEBAPP_MANUAL_SLOT="yes"
+
+inherit webapp eutils multilib user toolchain-funcs
+
+[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
+
+GIT_V="2.3.1"
+
+DESCRIPTION="a fast web-interface for git repositories"
+HOMEPAGE="http://git.zx2c4.com/cgit/about"
+SRC_URI="mirror://kernel/software/scm/git/git-${GIT_V}.tar.xz
+ http://git.zx2c4.com/cgit/snapshot/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +highlight +lua +jit"
+
+RDEPEND="
+ dev-vcs/git
+ sys-libs/zlib
+ dev-libs/openssl:0
+ virtual/httpd-cgi
+ highlight? ( || ( dev-python/pygments app-text/highlight ) )
+ lua? ( jit? ( dev-lang/luajit ) !jit? ( dev-lang/lua ) )
+"
+# ebuilds without WEBAPP_MANUAL_SLOT="yes" are broken
+DEPEND="${RDEPEND}
+ !<www-apps/cgit-0.8.3.3
+ doc? ( app-text/docbook-xsl-stylesheets
+ >=app-text/asciidoc-8.5.1 )
+"
+
+pkg_setup() {
+ webapp_pkg_setup
+ enewuser "${PN}"
+}
+
+src_prepare() {
+ rmdir git || die
+ mv "${WORKDIR}"/git-"${GIT_V}" git || die
+
+ echo "prefix = ${EPREFIX}/usr" >> cgit.conf
+ echo "libdir = ${EPREFIX}/usr/$(get_libdir)" >> cgit.conf
+ echo "CGIT_SCRIPT_PATH = ${MY_CGIBINDIR}" >> cgit.conf
+ echo "CGIT_DATA_PATH = ${MY_HTDOCSDIR}" >> cgit.conf
+ echo "CACHE_ROOT = ${CGIT_CACHEDIR}" >> cgit.conf
+ echo "DESTDIR = ${D}" >> cgit.conf
+ if use lua; then
+ if use jit; then
+ echo "LUA_PKGCONFIG = luajit" >> cgit.conf
+ else
+ echo "LUA_PKGCONFIG = lua" >> cgit.conf
+ fi
+ else
+ echo "NO_LUA = 1" >> cgit.conf
+ fi
+}
+
+src_compile() {
+ emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+ use doc && emake V=1 doc-man
+}
+
+src_install() {
+ webapp_src_preinst
+
+ emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" install
+
+ insinto /etc
+ doins "${FILESDIR}"/cgitrc
+
+ dodoc README
+ use doc && doman cgitrc.5
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+
+ keepdir "${CGIT_CACHEDIR}"
+ fowners ${PN}:${PN} "${CGIT_CACHEDIR}"
+ fperms 700 "${CGIT_CACHEDIR}"
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+ ewarn "If you intend to run cgit using web server's user"
+ ewarn "you should change ${CGIT_CACHEDIR} permissions."
+}
diff --git a/www-apps/cgit/cgit-0.11.2.ebuild b/www-apps/cgit/cgit-0.11.2.ebuild
new file mode 100644
index 000000000000..2fcf4a7f3a6c
--- /dev/null
+++ b/www-apps/cgit/cgit-0.11.2.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WEBAPP_MANUAL_SLOT="yes"
+
+inherit webapp eutils multilib user toolchain-funcs
+
+[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
+
+GIT_V="2.3.2"
+
+DESCRIPTION="a fast web-interface for git repositories"
+HOMEPAGE="http://git.zx2c4.com/cgit/about"
+SRC_URI="mirror://kernel/software/scm/git/git-${GIT_V}.tar.xz
+ http://git.zx2c4.com/cgit/snapshot/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +highlight +lua +jit"
+
+RDEPEND="
+ dev-vcs/git
+ sys-libs/zlib
+ dev-libs/openssl:0
+ virtual/httpd-cgi
+ highlight? ( || ( dev-python/pygments app-text/highlight ) )
+ lua? ( jit? ( dev-lang/luajit ) !jit? ( dev-lang/lua ) )
+"
+# ebuilds without WEBAPP_MANUAL_SLOT="yes" are broken
+DEPEND="${RDEPEND}
+ !<www-apps/cgit-0.8.3.3
+ doc? ( app-text/docbook-xsl-stylesheets
+ >=app-text/asciidoc-8.5.1 )
+"
+
+pkg_setup() {
+ webapp_pkg_setup
+ enewuser "${PN}"
+}
+
+src_prepare() {
+ rmdir git || die
+ mv "${WORKDIR}"/git-"${GIT_V}" git || die
+
+ echo "prefix = ${EPREFIX}/usr" >> cgit.conf
+ echo "libdir = ${EPREFIX}/usr/$(get_libdir)" >> cgit.conf
+ echo "CGIT_SCRIPT_PATH = ${MY_CGIBINDIR}" >> cgit.conf
+ echo "CGIT_DATA_PATH = ${MY_HTDOCSDIR}" >> cgit.conf
+ echo "CACHE_ROOT = ${CGIT_CACHEDIR}" >> cgit.conf
+ echo "DESTDIR = ${D}" >> cgit.conf
+ if use lua; then
+ if use jit; then
+ echo "LUA_PKGCONFIG = luajit" >> cgit.conf
+ else
+ echo "LUA_PKGCONFIG = lua" >> cgit.conf
+ fi
+ else
+ echo "NO_LUA = 1" >> cgit.conf
+ fi
+}
+
+src_compile() {
+ emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+ use doc && emake V=1 doc-man
+}
+
+src_install() {
+ webapp_src_preinst
+
+ emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" install
+
+ insinto /etc
+ doins "${FILESDIR}"/cgitrc
+
+ dodoc README
+ use doc && doman cgitrc.5
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+
+ keepdir "${CGIT_CACHEDIR}"
+ fowners ${PN}:${PN} "${CGIT_CACHEDIR}"
+ fperms 700 "${CGIT_CACHEDIR}"
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+ ewarn "If you intend to run cgit using web server's user"
+ ewarn "you should change ${CGIT_CACHEDIR} permissions."
+}
diff --git a/www-apps/cgit/cgit-9999.ebuild b/www-apps/cgit/cgit-9999.ebuild
new file mode 100644
index 000000000000..a339c0313810
--- /dev/null
+++ b/www-apps/cgit/cgit-9999.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+WEBAPP_MANUAL_SLOT="yes"
+
+inherit webapp eutils multilib user toolchain-funcs git-2
+
+[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
+
+DESCRIPTION="a fast web-interface for git repositories"
+HOMEPAGE="http://git.zx2c4.com/cgit/about"
+SRC_URI=""
+EGIT_REPO_URI="git://git.zx2c4.com/cgit"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc +highlight +lua +jit"
+
+RDEPEND="
+ dev-vcs/git
+ sys-libs/zlib
+ dev-libs/openssl:0
+ virtual/httpd-cgi
+ highlight? ( || ( dev-python/pygments app-text/highlight ) )
+ lua? ( jit? ( dev-lang/luajit ) !jit? ( dev-lang/lua ) )
+"
+# ebuilds without WEBAPP_MANUAL_SLOT="yes" are broken
+DEPEND="${RDEPEND}
+ !<www-apps/cgit-0.8.3.3
+ doc? ( app-text/docbook-xsl-stylesheets
+ >=app-text/asciidoc-8.5.1 )
+"
+
+pkg_setup() {
+ webapp_pkg_setup
+ enewuser "${PN}"
+}
+
+src_prepare() {
+ git submodule init || die
+ git submodule update || die
+
+ echo "prefix = ${EPREFIX}/usr" >> cgit.conf
+ echo "libdir = ${EPREFIX}/usr/$(get_libdir)" >> cgit.conf
+ echo "CGIT_SCRIPT_PATH = ${MY_CGIBINDIR}" >> cgit.conf
+ echo "CGIT_DATA_PATH = ${MY_HTDOCSDIR}" >> cgit.conf
+ echo "CACHE_ROOT = ${CGIT_CACHEDIR}" >> cgit.conf
+ echo "DESTDIR = ${D}" >> cgit.conf
+ if use lua; then
+ if use jit; then
+ echo "LUA_PKGCONFIG = luajit" >> cgit.conf
+ else
+ echo "LUA_PKGCONFIG = lua" >> cgit.conf
+ fi
+ else
+ echo "NO_LUA = 1" >> cgit.conf
+ fi
+}
+
+src_compile() {
+ emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+ use doc && emake V=1 doc-man
+}
+
+src_install() {
+ webapp_src_preinst
+
+ emake V=1 AR="$(tc-getAR)" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" install
+
+ insinto /etc
+ doins "${FILESDIR}"/cgitrc
+
+ dodoc README
+ use doc && doman cgitrc.5
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+
+ keepdir "${CGIT_CACHEDIR}"
+ fowners ${PN}:${PN} "${CGIT_CACHEDIR}"
+ fperms 700 "${CGIT_CACHEDIR}"
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+ ewarn "If you intend to run cgit using web server's user"
+ ewarn "you should change ${CGIT_CACHEDIR} permissions."
+}
diff --git a/www-apps/cgit/files/cgitrc b/www-apps/cgit/files/cgitrc
new file mode 100644
index 000000000000..a1d9f2f572b9
--- /dev/null
+++ b/www-apps/cgit/files/cgitrc
@@ -0,0 +1,130 @@
+# Enable caching of up to 1000 output entriess
+#cache-size=1000
+
+
+# Specify some default clone prefixes
+#clone-prefix=git://foobar.com ssh://foobar.com/pub/git http://foobar.com/git
+
+# Specify the css url
+#css=/css/cgit.css
+
+
+# Show extra links for each repository on the index page
+#enable-index-links=1
+
+
+# Enable ASCII art commit history graph on the log pages
+#enable-commit-graph=1
+
+
+# Show number of affected files per commit on the log pages
+#enable-log-filecount=1
+
+
+# Show number of added/removed lines per commit on the log pages
+#enable-log-linecount=1
+
+
+# Add a cgit favicon
+#favicon=/favicon.ico
+
+
+# Use a custom logo
+#logo=/img/mylogo.png
+
+
+# Enable statistics per week, month and quarter
+#max-stats=quarter
+
+
+# Set the title and heading of the repository index page
+#root-title=foobar.com git repositories
+
+
+# Set a subheading for the repository index page
+#root-desc=tracking the foobar development
+
+
+# Include some more info about foobar.com on the index page
+#root-readme=/var/www/htdocs/about.html
+
+
+# Allow download of tar.gz, tar.bz2 and zip-files
+#snapshots=tar.gz tar.bz2 zip
+
+
+##
+## List of common mimetypes
+##
+
+# Instead of defining mime types ourselves, grab it from etc
+#mimetype-file=/etc/mime.types
+
+# Or do it manually here
+#mimetype.gif=image/gif
+#mimetype.html=text/html
+#mimetype.jpg=image/jpeg
+#mimetype.jpeg=image/jpeg
+#mimetype.pdf=application/pdf
+#mimetype.png=image/png
+#mimetype.svg=image/svg+xml
+
+
+##
+## List of repositories.
+## PS: Any repositories listed when section is unset will not be
+## displayed under a section heading
+## PPS: This list could be kept in a different file (e.g. '/etc/cgitrepos')
+## and included like this:
+## include=/etc/cgitrepos
+##
+
+
+#repo.url=foo
+#repo.path=/pub/git/foo.git
+#repo.desc=the master foo repository
+#repo.owner=fooman@foobar.com
+#repo.readme=info/web/about.html
+
+
+#repo.url=bar
+#repo.path=/pub/git/bar.git
+#repo.desc=the bars for your foo
+#repo.owner=barman@foobar.com
+#repo.readme=info/web/about.html
+
+
+# The next repositories will be displayed under the 'extras' heading
+#section=extras
+
+
+#repo.url=baz
+#repo.path=/pub/git/baz.git
+#repo.desc=a set of extensions for bar users
+
+#repo.url=wiz
+#repo.path=/pub/git/wiz.git
+#repo.desc=the wizard of foo
+
+
+# Add some mirrored repositories
+#section=mirrors
+
+
+#repo.url=git
+#repo.path=/pub/git/git.git
+#repo.desc=the dscm
+
+
+#repo.url=linux
+#repo.path=/pub/git/linux.git
+#repo.desc=the kernel
+
+# Disable adhoc downloads of this repo
+#repo.snapshots=0
+
+# Disable line-counts for this repo
+#repo.enable-log-linecount=0
+
+# Restrict the max statistics period for this repo
+#repo.max-stats=month
diff --git a/www-apps/cgit/files/postinstall-en.txt b/www-apps/cgit/files/postinstall-en.txt
new file mode 100644
index 000000000000..b164123f0196
--- /dev/null
+++ b/www-apps/cgit/files/postinstall-en.txt
@@ -0,0 +1,45 @@
+There is a few variants of configuration:
+1) Via global config file: /etc/cgitrc
+2) Or via local config file, shipped in ./conf dir into webapp_dir. It has to
+ be explicitly specified with CGIT_CONFIG env variable in your web server
+ configuration.
+
+If you would like to update the list of git repositories in cgit automatically,
+you might consider adding something similar to the following as a cronjob:
+
+"${MY_CGIBINDIR}/cgit.cgi --scan-tree=/git/repo-parent-path > /etc/cgit-repos"
+
+Then add "include=/etc/cgit-repos" in /etc/cgitrc. This way it's simpler and
+more convenient. You won't need to update your cgitrc every time you add a new
+repository.
+
+===============================================================================
+ Apache HowTo
+===============================================================================
+
+With a default apache vhost config you can now access your repository at
+http://<vhostname>/cgi-bin/cgit.cgi/
+
+If you wish to access your repository starting from the root and don't want
+'cgi-bin/cgit.cgi' to be invisible, 2 things are needed.
+
+In your apache vhost configuration file for your domain, add the following
+rewrite rules to your
+<Directory /var/www/<vhostname>/htdocs> section.
+<snip>
+ RewriteEngine On
+ # Redirect all non-existant urls to cgit
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteRule ^.* /cgi-bin/cgit.cgi/$0 [L,PT]
+
+ # Redirect the empty url to cgit
+ RewriteRule ^$ /cgi-bin/cgit.cgi/ [L,PT]
+<snip>
+
+To make cgit create the correct URL's internally add to /etc/cgitrc (or your
+local config file)
+Enable virtual-root=/
+
+After these rules, you can now access cgit via http://<vhostname>/ to get the
+listing, and http://<vhostname>/repository to go directly to repository.
diff --git a/www-apps/cgit/metadata.xml b/www-apps/cgit/metadata.xml
new file mode 100644
index 000000000000..28667272885c
--- /dev/null
+++ b/www-apps/cgit/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>nikoli@gmx.us</email>
+ <name>Nikoli</name>
+ </maintainer>
+ <longdescription lang="en">
+ cgit - cgi for git
+
+ This is an attempt to create a fast web interface for the git scm, using a
+ builtin cache to decrease server io-pressure.
+ </longdescription>
+ <use>
+ <flag name="highlight">Enable source code highlighting</flag>
+ <flag name="lua">Enable support for Lua scripting</flag>
+ <flag name="jit">If the lua flag is enabled, jit uses LuaJIT instead of vanilla Lua</flag>
+ </use>
+</pkgmetadata>
+
diff --git a/www-apps/collectd-web/Manifest b/www-apps/collectd-web/Manifest
new file mode 100644
index 000000000000..ae5885620951
--- /dev/null
+++ b/www-apps/collectd-web/Manifest
@@ -0,0 +1 @@
+DIST collectd-web-0.4.0.tar.gz 771364 SHA256 08cda1ae2efe971087a7f312c9686dc8104bcb58c426925dca1a4e1be24551bd SHA512 7ce242ceab9d98c28332c66d8db727fe8f4ea357eb847f0d3f9275bac813941255bbaf0078282a4cd08750915ee81665d52ba07a94d1a3a72298b822de7a95e9 WHIRLPOOL e7772ffee202ea1701a5193a8f4554eee2fe1b1ac4dc8a65cc73c0c5024743341b5fc0e56d28106d6cb2185068abc5c5002700af6250754be8c421678c96d98e
diff --git a/www-apps/collectd-web/collectd-web-0.4.0.ebuild b/www-apps/collectd-web/collectd-web-0.4.0.ebuild
new file mode 100644
index 000000000000..7dc02f443792
--- /dev/null
+++ b/www-apps/collectd-web/collectd-web-0.4.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=3
+
+inherit webapp
+
+DESCRIPTION="Collectd-web is a web-based front-end for RRD data collected by collectd"
+HOMEPAGE="http://collectdweb.appspot.com/"
+SRC_URI="https://github.com/httpdss/${PN}/tarball/${PV} -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+need_httpd_cgi
+
+S="${WORKDIR}/httpdss-collectd-web-a23c49f"
+
+DEPEND="dev-perl/HTML-Parser
+ net-analyzer/rrdtool[perl]
+ dev-perl/JSON
+ dev-perl/CGI
+ dev-perl/URI
+ virtual/perl-Time-Local
+ virtual/ttf-fonts"
+RDEPEND="${DEPEND}"
+
+src_install() {
+ webapp_src_preinst
+
+ cd "${S}"/cgi-bin
+ insinto "${MY_CGIBINDIR}"
+ doins -r .
+
+ cd "${S}"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r iphone
+ doins -r media
+ doins index.html
+
+ webapp_src_install
+}
diff --git a/www-apps/collectd-web/metadata.xml b/www-apps/collectd-web/metadata.xml
new file mode 100644
index 000000000000..54d3aadfce8b
--- /dev/null
+++ b/www-apps/collectd-web/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <upstream>
+ <remote-id type="github">httpdss/collectd-web</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/coppermine/Manifest b/www-apps/coppermine/Manifest
new file mode 100644
index 000000000000..910d6f2e8522
--- /dev/null
+++ b/www-apps/coppermine/Manifest
@@ -0,0 +1 @@
+DIST cpg1.5.20.zip 19122378 SHA256 f5388d6fa0952f4aba8f51ae9f86c7f916c432831e02050c27d27737cececcf5 SHA512 8dd1ab52eedd8d1bd9eb95936125eaff595a66ca936857a8f21025a81a4d65194b0813b2f0b5db8d9bfab5f4ffb4442afd7c06cbae078e576bc8355c921042bf WHIRLPOOL 1c6c28a72aaa63501e3b11a794de89a5cd1b30577768e3c76f5ae97f0f56c6c743b2af1ec8a07a2fde6e745bbbf89ffe1b8b74140039e0468830bf748b1b44fe
diff --git a/www-apps/coppermine/coppermine-1.5.20.ebuild b/www-apps/coppermine/coppermine-1.5.20.ebuild
new file mode 100644
index 000000000000..4ba87574ab2a
--- /dev/null
+++ b/www-apps/coppermine/coppermine-1.5.20.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit webapp versionator
+
+DESCRIPTION="Web picture gallery written in PHP with a MySQL backend"
+HOMEPAGE="http://coppermine.sourceforge.net/"
+SRC_URI="mirror://sourceforge/eenemeenemuu.u/cpg${PV}.zip"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="virtual/httpd-php
+ dev-lang/php[gd,mysql]"
+
+S="${WORKDIR}"/$(version_format_string 'cpg$1$2x')
+
+need_httpd_cgi
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc CHANGELOG.txt README.txt
+ dohtml -r docs
+ rm -rf CHANGELOG.txt README.txt COPYING docs/
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ dodir "${MY_HTDOCSDIR}"/albums/{userpics,edit}
+ webapp_serverowned "${MY_HTDOCSDIR}"/albums{,/userpics,/edit}
+ webapp_serverowned "${MY_HTDOCSDIR}"/include
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/coppermine/files/postinstall-en.txt b/www-apps/coppermine/files/postinstall-en.txt
new file mode 100644
index 000000000000..8e2ede806ddf
--- /dev/null
+++ b/www-apps/coppermine/files/postinstall-en.txt
@@ -0,0 +1,14 @@
+To complete the installation, you must
+
+1. Manually create a MySQL user and database.
+ The installer will handle the rest.
+
+Finally, point your browser to:
+
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install.php
+
+==
+
+To complete an upgrade, point your browser at:
+
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/upgrade.php
diff --git a/www-apps/coppermine/metadata.xml b/www-apps/coppermine/metadata.xml
new file mode 100644
index 000000000000..276a32a3c827
--- /dev/null
+++ b/www-apps/coppermine/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <upstream>
+ <remote-id type="sourceforge">eenemeenemuu.u</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/curator/Manifest b/www-apps/curator/Manifest
new file mode 100644
index 000000000000..c445df770af2
--- /dev/null
+++ b/www-apps/curator/Manifest
@@ -0,0 +1 @@
+DIST curator-3.0_pf078f1686a78.tar.xz 408412 SHA256 c2409844eb3fdc4667933c8d9f645f5e583864fd0e587318a54ca6e732e9b6c4 SHA512 5f6866396762d510319f8f36205ac1caa4468e761431ed1445d57858fab18120da0e3ff38b2aedf6d4d97fc6ed0998a62a3ed55476442b4537a092bc8d435751 WHIRLPOOL a02c8e1f01240b5fc91b1f3b771145635a3c9efe6da84167211a0b98415cdd43afefdefad2bf021ae3de3e24416a98da0078f66e19f3e4e7cfda5c8a3fcbf6c0
diff --git a/www-apps/curator/curator-3.0_p20110120.ebuild b/www-apps/curator/curator-3.0_p20110120.ebuild
new file mode 100644
index 000000000000..90364c096417
--- /dev/null
+++ b/www-apps/curator/curator-3.0_p20110120.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+PYTHON_DEPEND="2"
+
+inherit python
+
+DESCRIPTION="Gallery generator"
+HOMEPAGE="http://furius.ca/curator/"
+SRC_URI="mirror://gentoo/curator-3.0_pf078f1686a78.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~hppa ~mips ppc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}
+ virtual/python-imaging
+ || ( >=media-gfx/imagemagick-5.4.9 media-gfx/graphicsmagick[imagemagick] )"
+
+S="${WORKDIR}/curator-3.0_pf078f1686a78"
+
+pkg_setup() {
+ python_set_active_version 2
+ python_pkg_setup
+}
+src_compile() {
+ :
+}
+
+src_install() {
+ dobin hs/curator-hs
+ insinto /usr/share/curator/hs
+ doins -r hs/*
+}
diff --git a/www-apps/curator/metadata.xml b/www-apps/curator/metadata.xml
new file mode 100644
index 000000000000..e81bafe6898e
--- /dev/null
+++ b/www-apps/curator/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <maintainer>
+ <email>fauli@gentoo.org</email>
+ <name>Christian Faulhammer</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apps/cvsweb/Manifest b/www-apps/cvsweb/Manifest
new file mode 100644
index 000000000000..3e3f75547680
--- /dev/null
+++ b/www-apps/cvsweb/Manifest
@@ -0,0 +1,3 @@
+DIST cvsweb-1.112.tar.gz 37239 SHA256 55656465590231d8ead238cb2b7def59a9f00ad5f126176c15f2a9e340812fa4
+DIST cvsweb-3.0.5.tar.gz 72199 SHA256 ab1acebde0b4f2c75932bab529150c8280cf881deba81323d71733d81c28643c
+DIST cvsweb-3.0.6.tar.gz 72484 SHA256 07391ee70212ae42e54b8f6d5e613623ef2aad5fd7474899a102fcca48d213c2 SHA512 32ac58bcb025746e4cc20bdc12d1bd915e2286a4093afebf8d60cb94a70ac614301f9b7f0a175458b14262a03d3d2eb8c29eabaf9127bef1aa6847905f331cc6 WHIRLPOOL becd4a96f21b178595be2083f8117e84b6203508fca09a9a74891cc324f8086b6a2b273eabfbb50301864a0f5f53a84374f7e3e0c9a1a32b0e7bd08a1a60aaa3
diff --git a/www-apps/cvsweb/cvsweb-1.112.ebuild b/www-apps/cvsweb/cvsweb-1.112.ebuild
new file mode 100644
index 000000000000..bbe5cb1d285e
--- /dev/null
+++ b/www-apps/cvsweb/cvsweb-1.112.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="WWW interface to a CVS tree"
+HOMEPAGE="http://www.freebsd.org/projects/cvsweb.html"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="x86 sparc ~ppc"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5
+ >=dev-vcs/rcs-5.7"
+
+S="${WORKDIR}/cvsweb"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ cd "${S}"
+ local x
+ for x in cvsweb.cgi cvsweb.conf
+ do
+ cp ${x} ${x}.orig
+ sed -e "s:/usr/local/web/apache/conf/:/etc/apache/conf/:g" ${x}.orig > ${x}
+ done
+}
+
+src_install() {
+ insinto /etc/apache/conf
+ doins cvsweb.conf
+ insinto /home/httpd/cgi-bin
+ insopts -m755
+ doins cvsweb.cgi
+ dodoc README TODO
+}
diff --git a/www-apps/cvsweb/cvsweb-3.0.5.ebuild b/www-apps/cvsweb/cvsweb-3.0.5.ebuild
new file mode 100644
index 000000000000..2360c73001b0
--- /dev/null
+++ b/www-apps/cvsweb/cvsweb-3.0.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit webapp
+
+DESCRIPTION="WWW interface to a CVS tree"
+HOMEPAGE="http://www.freebsd.org/projects/cvsweb.html"
+SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/scop/${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~x86 ~sparc ~ppc"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.8
+ >=dev-vcs/cvs-1.11
+ >=dev-vcs/rcs-5.7
+ >=dev-perl/URI-1.28
+ dev-perl/IPC-Run
+ dev-perl/MIME-Types
+ dev-perl/String-Ediff
+ >=dev-vcs/cvsgraph-1.4.0
+ >=app-text/enscript-1.6.3"
+
+src_install() {
+ webapp_src_preinst
+
+ cp cvsweb.conf "${D}"/${MY_HOSTROOTDIR}
+ cp css/cvsweb.css "${D}"/${MY_HTDOCSDIR}
+ exeinto ${MY_CGIBINDIR}
+ doexe cvsweb.cgi
+ chmod +x "${D}"/${MY_CGIBINDIR}/cvsweb.cgi
+
+ dodoc README TODO NEWS ChangeLog
+
+ webapp_hook_script "${FILESDIR}"/reconfig
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/cvsweb/cvsweb-3.0.6-r1.ebuild b/www-apps/cvsweb/cvsweb-3.0.6-r1.ebuild
new file mode 100644
index 000000000000..3ca81647a82a
--- /dev/null
+++ b/www-apps/cvsweb/cvsweb-3.0.6-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils webapp
+
+DESCRIPTION="WWW interface to a CVS tree"
+HOMEPAGE="http://www.freebsd.org/projects/cvsweb.html"
+SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/scop/${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~ppc sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.8
+ >=dev-vcs/cvs-1.11
+ >=dev-vcs/rcs-5.7
+ >=dev-perl/URI-1.28
+ dev-perl/IPC-Run
+ dev-perl/MIME-Types
+ dev-perl/String-Ediff
+ >=dev-vcs/cvsgraph-1.4.0
+ >=app-text/enscript-1.6.3"
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-perl518.patch"
+}
+
+src_install() {
+ webapp_src_preinst
+
+ cp cvsweb.conf "${D}"/${MY_HOSTROOTDIR}
+ cp css/cvsweb.css "${D}"/${MY_HTDOCSDIR}
+ exeinto ${MY_CGIBINDIR}
+ doexe cvsweb.cgi
+ chmod +x "${D}"/${MY_CGIBINDIR}/cvsweb.cgi
+
+ dodoc README TODO NEWS ChangeLog
+
+ webapp_hook_script "${FILESDIR}"/reconfig
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/cvsweb/cvsweb-3.0.6.ebuild b/www-apps/cvsweb/cvsweb-3.0.6.ebuild
new file mode 100644
index 000000000000..2c4cb5062f0f
--- /dev/null
+++ b/www-apps/cvsweb/cvsweb-3.0.6.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit webapp
+
+DESCRIPTION="WWW interface to a CVS tree"
+HOMEPAGE="http://www.freebsd.org/projects/cvsweb.html"
+SRC_URI="ftp://ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/scop/${P}.tar.gz"
+
+LICENSE="BSD"
+KEYWORDS="~amd64 ~ppc sparc x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.8
+ >=dev-vcs/cvs-1.11
+ >=dev-vcs/rcs-5.7
+ >=dev-perl/URI-1.28
+ dev-perl/IPC-Run
+ dev-perl/MIME-Types
+ dev-perl/String-Ediff
+ >=dev-vcs/cvsgraph-1.4.0
+ >=app-text/enscript-1.6.3"
+
+src_install() {
+ webapp_src_preinst
+
+ cp cvsweb.conf "${D}"/${MY_HOSTROOTDIR}
+ cp css/cvsweb.css "${D}"/${MY_HTDOCSDIR}
+ exeinto ${MY_CGIBINDIR}
+ doexe cvsweb.cgi
+ chmod +x "${D}"/${MY_CGIBINDIR}/cvsweb.cgi
+
+ dodoc README TODO NEWS ChangeLog
+
+ webapp_hook_script "${FILESDIR}"/reconfig
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/cvsweb/files/cvsweb-3.0.6-perl518.patch b/www-apps/cvsweb/files/cvsweb-3.0.6-perl518.patch
new file mode 100644
index 000000000000..ba1195ae9160
--- /dev/null
+++ b/www-apps/cvsweb/files/cvsweb-3.0.6-perl518.patch
@@ -0,0 +1,25 @@
+Source:
+http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/www/cvsweb/patches/patch-cvsweb.cgi.diff?r1=1.1.2.1&r2=1.1.2.2&f=h
+
+Fix warnings from newer perl versions
+
+--- cvsweb.cgi.orig 2013-07-30 12:49:33.268655300 +0000
++++ cvsweb.cgi
+@@ -1192,7 +1192,7 @@ EOF
+ <legend>General options</legend>
+ <input type="hidden" name="copt" value="1" />
+ EOF
+- for my $v qw(hidecvsroot hidenonreadable) {
++ for my $v (qw(hidecvsroot hidenonreadable)) {
+ printf(qq{<input type="hidden" name="%s" value="%s" />\n},
+ $v, $input{$v} || 0);
+ }
+@@ -2951,7 +2951,7 @@ sub printLog($$$;$$)
+ print "<br />\n";
+
+ print '<i>';
+- if (defined @mytz) {
++ if (@mytz) {
+ my ($est) = $mytz[(localtime($date{$_}))[8]];
+ print scalar localtime($date{$_}), " $est</i> (";
+ } else {
diff --git a/www-apps/cvsweb/files/postinstall-en.txt b/www-apps/cvsweb/files/postinstall-en.txt
new file mode 100644
index 000000000000..e6e1dbf1e54e
--- /dev/null
+++ b/www-apps/cvsweb/files/postinstall-en.txt
@@ -0,0 +1 @@
+Now edit ${VHOST_ROOT}/cvsweb.conf
diff --git a/www-apps/cvsweb/files/reconfig b/www-apps/cvsweb/files/reconfig
new file mode 100644
index 000000000000..10767108f1a9
--- /dev/null
+++ b/www-apps/cvsweb/files/reconfig
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+die() {
+ echo "#####"
+ echo $1
+ echo "#####"
+ exit 1
+}
+
+if [ $1 = "install" ]; then
+ sed "s|/usr/local/etc/cvsweb/cvsweb.conf|${VHOST_ROOT}/cvsweb.conf|g
+ s|/usr/local/etc/cvsweb|${VHOST_ROOT}|g
+ s|/css/cvsweb.css|/cvsweb.css|g
+ s|/usr/local/etc/apache/mime.types|/etc/mime.types|g" -i ${VHOST_ROOT}/cgi-bin/cvsweb.cgi ${VHOST_ROOT}/cvsweb.conf || die "sed failed"
+fi
diff --git a/www-apps/cvsweb/metadata.xml b/www-apps/cvsweb/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/cvsweb/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/davical/Manifest b/www-apps/davical/Manifest
new file mode 100644
index 000000000000..8226e1b3477c
--- /dev/null
+++ b/www-apps/davical/Manifest
@@ -0,0 +1,4 @@
+DIST davical-1.0.2.tar.gz 2739740 SHA256 12633dfc22aeaef9807e347d2c8798f2a3af4b9dd712a8bb736511915b3b9da6 SHA512 8eb1df963b0e3aa87c28e75001c4301698abff74fd4581bdc826bfad8d8e1cd5aa0b641c668dbecc2f85ca8f3bca8ec9a508d268881da004cbb84017c2604dcb WHIRLPOOL 92c3e127659a818290f5d46b1c5818719174b0aee8a4f0b8e29f1ad39022d62b22f5840036d7ec6497c40dd05935ee37a7eba478e179e0baa5abc3723e392aa6
+DIST davical-1.1.0.tar.gz 2967572 SHA256 cc52f09c1f8706aa2b6d598b77ef0997b6e7ee31db1f1325864d705514505816 SHA512 5c272418b5c324d0ea4cbdd9c1124171ecd1fe1f3df4953569b02a47359469539205ff48e92aa19abaa667bb7c69f1b8b8196d79e549645009ac0b7bbddd7c18 WHIRLPOOL e224f62c4143d5c92387a346ec1ff14504b7892308d302a3f50d749725c58b8edbc23642640cd29b85e4095b4e3352242ccc25657cd4193f13e191a0ac894a24
+DIST davical-1.1.1.tar.gz 2979425 SHA256 09bd92a35d2730fe687f6801796d8da1090cb8e36c2910c056a01b00cb73cafc SHA512 6f0b2a13ba6698ea1a7d16988c795888820a08d125ac3d622b6c9fc21f831b698e8ce2c9c7ae25e64252f38502e473daabbd0626c5b2450646efb7cdb7f5b31e WHIRLPOOL 82e1a3530dd2247d46effd2df13554d3af2f2141d3c5efb7eb3cc1d514f8defc7a479ff47d135872ef712ae63d6a39ba4d65df14c2885ab2ca7b6510e6db23bf
+DIST davical-1.1.3.1.tar.gz 3031220 SHA256 4439c2df0052241b65c61eb4f0b10c406d93afd65a5cc6b523b597c0a7b05c15 SHA512 1944c4750799e9388adcaf1d5df6a2a5daccc34dd7274673a6b27cf0c32b2357d3cdd6d7c0928ea182408ce5111530f6b0e2eb6d882eb47ee1dcfa6eb8d4fe4b WHIRLPOOL d32252bef2c5f4d772a7d0744d8d6aaabbde2de2f3e259802c80242e5f87ecf5ed4ea965daa2c5ec134c214c46bbbfc1e234fcdbb23f507f6de1ed328d9f6934
diff --git a/www-apps/davical/davical-1.0.2-r2.ebuild b/www-apps/davical/davical-1.0.2-r2.ebuild
new file mode 100644
index 000000000000..ca363e9aca4c
--- /dev/null
+++ b/www-apps/davical/davical-1.0.2-r2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit depend.php webapp
+
+DESCRIPTION="A CalDAV and CardDAV Server"
+HOMEPAGE="http://davical.org/"
+SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=dev-php/awl-0.51
+ sys-devel/gettext"
+RDEPEND="
+ app-admin/pwgen
+ dev-lang/php:*[calendar,curl,pdo,postgres,xml]
+ dev-perl/DBI
+ dev-perl/DBD-Pg
+ dev-perl/yaml
+ >=dev-php/awl-0.51
+ www-servers/apache"
+
+need_php5
+need_httpd
+
+src_prepare() {
+ epatch "${FILESDIR}/awl_location.patch"
+ epatch "${FILESDIR}/inc_path.patch"
+}
+
+src_compile() {
+ emake built-po
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc-php INSTALL README debian/README.Debian \
+ testing/README.regression_tests TODO debian/changelog
+
+ einfo "Installing web files"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r htdocs/* htdocs/.htaccess
+
+ einfo "Installing main files and i18n"
+ insinto "${MY_HOSTROOTDIR}/${PN}"
+ doins -r inc locale || die "doins failed"
+ rm "${D}/${MY_HOSTROOTDIR}/${PN}/inc/always.php.in" || die
+
+ einfo "Installing sql files"
+ insinto "${MY_SQLSCRIPTSDIR}"
+ doins -r dba/*
+
+ if use doc ; then
+ einfo "Installing documentation"
+ dohtml -r docs/api/ docs/website/
+ fi
+
+ insinto /etc/${PN}
+ doins config/* "${FILESDIR}/vhost-example"
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
+ webapp_src_install
+
+ fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh"
+ fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database"
+}
diff --git a/www-apps/davical/davical-1.1.0-r1.ebuild b/www-apps/davical/davical-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..742061dd6cff
--- /dev/null
+++ b/www-apps/davical/davical-1.1.0-r1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit depend.php webapp
+
+DESCRIPTION="A CalDAV and CardDAV Server"
+HOMEPAGE="http://davical.org/"
+SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="
+ >=dev-php/awl-0.51
+ sys-devel/gettext
+ "
+RDEPEND="app-admin/pwgen
+ dev-lang/php:*[calendar,curl,pdo,postgres,xml]
+ dev-perl/DBI
+ dev-perl/DBD-Pg
+ dev-perl/yaml
+ >=dev-php/awl-0.51
+ www-servers/apache"
+
+need_php5
+need_httpd
+
+src_prepare() {
+ epatch "${FILESDIR}/awl_location.patch"
+ epatch "${FILESDIR}/inc_path.patch"
+}
+
+src_compile() {
+ emake built-po
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc-php INSTALL README debian/README.Debian \
+ testing/README.regression_tests TODO debian/changelog
+
+ einfo "Installing web files"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r htdocs/* htdocs/.htaccess
+
+ einfo "Installing main files and i18n"
+ insinto "${MY_HOSTROOTDIR}/${PN}"
+ doins -r inc locale
+ rm "${D}/${MY_HOSTROOTDIR}/${PN}/inc/always.php.in" || die
+
+ einfo "Installing sql files"
+ insinto "${MY_SQLSCRIPTSDIR}"
+ doins -r dba/*
+
+ if use doc ; then
+ einfo "Installing documentation"
+ dohtml -r docs/api/ docs/website/
+ fi
+
+ insinto /etc/${PN}
+ doins config/* "${FILESDIR}/vhost-example"
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
+ webapp_src_install
+
+ fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh"
+ fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database"
+}
diff --git a/www-apps/davical/davical-1.1.1-r2.ebuild b/www-apps/davical/davical-1.1.1-r2.ebuild
new file mode 100644
index 000000000000..32de44f73f98
--- /dev/null
+++ b/www-apps/davical/davical-1.1.1-r2.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit depend.php webapp
+
+DESCRIPTION="A CalDAV and CardDAV Server"
+HOMEPAGE="http://davical.org/"
+SRC_URI="http://debian.mcmillan.net.nz/packages/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=dev-php/awl-0.51
+ sys-devel/gettext"
+RDEPEND="app-admin/pwgen
+ dev-lang/php:*[calendar,curl,pdo,postgres,xml]
+ dev-perl/DBI
+ dev-perl/DBD-Pg
+ dev-perl/yaml
+ >=dev-php/awl-0.51
+ virtual/httpd-php"
+
+need_php5
+need_httpd
+
+src_prepare() {
+ epatch "${FILESDIR}/awl_location.patch"
+ epatch "${FILESDIR}/inc_path.patch"
+}
+
+src_compile() {
+ emake built-po
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc-php INSTALL README debian/README.Debian \
+ testing/README.regression_tests TODO debian/changelog
+
+ einfo "Installing web files"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r htdocs/* htdocs/.htaccess
+
+ einfo "Installing main files and i18n"
+ insinto "${MY_HOSTROOTDIR}/${PN}"
+ doins -r inc locale
+ rm "${D}/${MY_HOSTROOTDIR}/${PN}/inc/always.php.in" || die
+
+ einfo "Installing sql files"
+ insinto "${MY_SQLSCRIPTSDIR}"
+ doins -r dba/*
+
+ if use doc ; then
+ einfo "Installing documentation"
+ dohtml -r docs/api/ docs/website/
+ fi
+
+ insinto /etc/${PN}
+ doins config/* "${FILESDIR}/vhost-example"
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
+ webapp_src_install
+
+ fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh"
+ fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database"
+}
diff --git a/www-apps/davical/davical-1.1.3.1-r2.ebuild b/www-apps/davical/davical-1.1.3.1-r2.ebuild
new file mode 100644
index 000000000000..a16d72b744fa
--- /dev/null
+++ b/www-apps/davical/davical-1.1.3.1-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit depend.php webapp
+
+DESCRIPTION="A CalDAV and CardDAV Server"
+HOMEPAGE="http://davical.org/"
+SRC_URI="https://gitlab.com/${PN}-project/${PN}/repository/archive.tar.gz?ref=r${PV} -> ${PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=dev-php/awl-0.55
+ sys-devel/gettext"
+RDEPEND="app-admin/pwgen
+ dev-lang/php:*[calendar,curl,pdo,postgres,xml]
+ dev-perl/DBI
+ dev-perl/DBD-Pg
+ dev-perl/yaml
+ >=dev-php/awl-0.55
+ virtual/httpd-php"
+
+S="${WORKDIR}/${PN}.git"
+
+need_php5
+need_httpd
+
+src_prepare() {
+ epatch "${FILESDIR}/awl-locations.patch"
+ epatch "${FILESDIR}/inc_path.patch"
+}
+
+src_compile() {
+ emake built-po
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc-php INSTALL README debian/README.Debian \
+ testing/README.regression_tests TODO debian/changelog
+
+ einfo "Installing web files"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r htdocs/* htdocs/.htaccess
+
+ einfo "Installing main files and i18n"
+ insinto "${MY_HOSTROOTDIR}/${PN}"
+ doins -r inc locale
+ rm "${D}/${MY_HOSTROOTDIR}/${PN}/inc/always.php.in" || die
+
+ einfo "Installing sql files"
+ insinto "${MY_SQLSCRIPTSDIR}"
+ doins -r dba/*
+
+ if use doc ; then
+ einfo "Installing documentation"
+ dohtml -r docs/api/ docs/website/
+ fi
+
+ insinto /etc/${PN}
+ doins config/* "${FILESDIR}/vhost-example"
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en.txt"
+ webapp_src_install
+
+ fperms +x "${MY_SQLSCRIPTSDIR}/create-database.sh"
+ fperms +x "${MY_SQLSCRIPTSDIR}/update-davical-database"
+}
diff --git a/www-apps/davical/files/awl-locations.patch b/www-apps/davical/files/awl-locations.patch
new file mode 100644
index 000000000000..e0105bffbd2f
--- /dev/null
+++ b/www-apps/davical/files/awl-locations.patch
@@ -0,0 +1,93 @@
+diff --git a/dba/create-database.sh b/dba/create-database.sh
+index b1dd1fa..d25f9d9 100755
+--- a/dba/create-database.sh
++++ b/dba/create-database.sh
+@@ -10,22 +10,29 @@ DBADIR="`dirname \"$0\"`"
+
+ INSTALL_NOTE_FN="`mktemp -t tmp.XXXXXXXXXX`"
+
+-testawldir() {
+- [ -f "${1}/dba/awl-tables.sql" ]
+-}
+
+-#
+-# Attempt to locate the AWL directory
+-AWLDIR="${DBADIR}/../../awl"
+-if ! testawldir "${AWLDIR}"; then
+- AWLDIR="/usr/share/awl"
+- if ! testawldir "${AWLDIR}"; then
+- AWLDIR="/usr/local/share/awl"
+- if ! testawldir "${AWLDIR}"; then
+- echo "Unable to find AWL libraries"
+- exit 1
++# Candidate locations of the AWL directory
++awldirs="${DBADIR}/../../awl
++/usr/share/awl
++/usr/share/php/awl
++/usr/local/share/awl"
++
++# Disable globbing and use newline as seperator
++set -f; IFS='
++'
++for d in $awldirs ; do
++ if [ -f "${d}/dba/awl-tables.sql" ] ; then
++ AWLDIR="${d}"
++ break
+ fi
+- fi
++done
++
++# Renable file globbing and reset seperator
++set +f; unset IFS
++
++if [ -z "${AWLDIR}" ] ; then
++ echo "Unable to find AWL libraries"
++ exit 1
+ fi
+
+ export AWL_DBAUSER=davical_dba
+diff --git a/scripts/po/rebuild-translations.sh b/scripts/po/rebuild-translations.sh
+index 7191615..809fa8c 100755
+--- a/scripts/po/rebuild-translations.sh
++++ b/scripts/po/rebuild-translations.sh
+@@ -10,17 +10,30 @@
+ PODIR="po"
+ LOCALEDIR="locale"
+ APPLICATION="davical"
+-AWL_LOCATION="../awl"
+-
+-if [ ! -d "${AWL_LOCATION}" ]; then
+- AWL_LOCATION="`find .. -type d -name 'awl-*.*'`"
+- if [ ! -d "${AWL_LOCATION}" ]; then
+- AWL_LOCATION=/usr/share/awl
+- if [ ! -d "${AWL_LOCATION}" ]; then
+- echo "I can't find a location for the AWL libraries and I need those strings too"
+- exit 1
++
++awldirs="../awl
++`find .. -type d -name 'awl-*.*'`
++/usr/share/awl
++/usr/share/php/awl
++/usr/local/share/awl"
++
++# Disable globbing and use newline as seperator
++set -f; IFS='
++'
++
++for d in $awldirs ; do
++ if [ -d "${d}" ] ; then
++ AWL_LOCATION="${d}"
++ break
+ fi
+- fi
++done
++
++# Renable file globbing and reset seperator
++set +f; unset IFS
++
++if [ -z "${AWL_LOCATION}" ] ; then
++ echo "I can't find a location for the AWL libraries and I need those strings too"
++ exit 1
+ fi
+
+ egrep -l '(i18n|translate)' htdocs/*.php inc/*.php inc/ui/*.php > ${PODIR}/pofilelist.tmp1
diff --git a/www-apps/davical/files/awl_location.patch b/www-apps/davical/files/awl_location.patch
new file mode 100644
index 000000000000..7eee3d8fcfb8
--- /dev/null
+++ b/www-apps/davical/files/awl_location.patch
@@ -0,0 +1,21 @@
+--- scripts/po/rebuild-translations.sh.orig 2011-09-29 21:23:48.122625252 +0200
++++ scripts/po/rebuild-translations.sh 2011-09-29 21:49:55.642929743 +0200
+@@ -10,7 +10,7 @@
+ PODIR="po"
+ LOCALEDIR="locale"
+ APPLICATION="davical"
+-AWL_LOCATION="../awl"
++AWL_LOCATION="/usr/share/php/awl/inc"
+
+ if [ ! -d "${AWL_LOCATION}" ]; then
+ AWL_LOCATION="`find .. -type d -name 'awl-*.*'`"
+@@ -25,7 +25,8 @@
+
+ egrep -l '(i18n|translate)' htdocs/*.php inc/*.php inc/ui/*.php > ${PODIR}/pofilelist.tmp1
+ sed "s:../awl:${AWL_LOCATION}:" ${PODIR}/pofilelist.txt >> ${PODIR}/pofilelist.tmp1
+-sort ${PODIR}/pofilelist.tmp1 | uniq > ${PODIR}/pofilelist.tmp
++sed "s:/awl/inc/:/awl/:" ${PODIR}/pofilelist.tmp1 >> ${PODIR}/pofilelist.tmp2
++sort ${PODIR}/pofilelist.tmp2 | uniq > ${PODIR}/pofilelist.tmp
+ xgettext --no-location --add-comments=Translators --keyword=translate --keyword=i18n --output=${PODIR}/messages.tmp -s -f ${PODIR}/pofilelist.tmp
+ sed 's.^"Content-Type: text/plain; charset=CHARSET\\n"."Content-Type: text/plain; charset=UTF-8\\n".' ${PODIR}/messages.tmp > ${PODIR}/messages.pot
+ rm ${PODIR}/messages.tmp ${PODIR}/pofilelist.tmp ${PODIR}/pofilelist.tmp1
diff --git a/www-apps/davical/files/inc_path.patch b/www-apps/davical/files/inc_path.patch
new file mode 100644
index 000000000000..2230249df0f9
--- /dev/null
+++ b/www-apps/davical/files/inc_path.patch
@@ -0,0 +1,28 @@
+--- htdocs/always.php.orig 2012-01-05 21:28:16.382878446 +0100
++++ htdocs/always.php 2012-01-05 21:30:06.828431957 +0100
+@@ -48,7 +48,7 @@
+ // $c->default_locale = array('es_MX', 'es_AR', 'es', 'pt'); // An array of locales to try, or just a single locale
+ // $c->local_tzid = 'Pacific/Auckland'; // Perhaps we should read from /etc/timezone - I wonder how standard that is?
+ $c->default_locale = 'en';
+-$c->locale_path = '../locale';
++$c->locale_path = '../../davical/locale';
+ $c->base_url = preg_replace('#/[^/]+\.php.*$#', '', $_SERVER['SCRIPT_NAME']);
+ $c->base_directory = preg_replace('#/[^/]*$#', '', $_SERVER['DOCUMENT_ROOT']);
+ $c->default_privileges = array('read-free-busy', 'schedule-deliver');
+@@ -80,6 +80,7 @@
+ '../../awl/inc'
+ , '/usr/share/awl/inc' // Where it ends up on Debian
+ , '/usr/share/php/awl/inc' // Fedora's standard for PHP libraries
++ , '/usr/share/php5/awl/inc' // Gentoo's standard for PHP5 libraries
+ , '/usr/local/share/awl/inc'
+ );
+ foreach( $try_paths AS $awl_include_path ) {
+@@ -95,7 +96,7 @@
+ }
+
+ // Ensure that ../inc is in our included paths as early as possible
+-set_include_path( '../inc'. PATH_SEPARATOR. get_include_path());
++set_include_path( '../../davical/inc'. PATH_SEPARATOR. get_include_path());
+
+
+ /** We actually discovered this and worked around it earlier, but we can't log it until the utilties are loaded */
diff --git a/www-apps/davical/files/postinstall-en.txt b/www-apps/davical/files/postinstall-en.txt
new file mode 100644
index 000000000000..5a88a2bdf2e4
--- /dev/null
+++ b/www-apps/davical/files/postinstall-en.txt
@@ -0,0 +1,18 @@
+You will need access to postgresql database to use davical.
+
+Read /usr/share/doc/www-apps/davical-${PVR}/INSTALL.gz for installation
+instructions.
+Release notes are available at
+http://wiki.davical.org/w/Release_Notes/${PVR}.
+Full documentation and wiki on http://davical.org
+
+If you are upgrading from a previous version of davical, don't forget to
+upgrade the database structure with
+ cd /usr/share/webapps/davical/${PVR}/sqlscripts/
+ ./update-davical-database -dbuser xxxxxxx -appuser xxxxxx
+
+You can safely ignore any message about missing time_zone table.
+
+If you are upgrading from a version <= 0.9.8.4 please note inc/ and locale/
+have been moved away from the htdocs directory and placed into hostroot for
+safety reasons.
diff --git a/www-apps/davical/files/vhost-example b/www-apps/davical/files/vhost-example
new file mode 100644
index 000000000000..d6f0da2088cf
--- /dev/null
+++ b/www-apps/davical/files/vhost-example
@@ -0,0 +1,16 @@
+<VirtualHost 123.4.56.78 >
+ ServerName davical.example.net
+
+ DocumentRoot /var/www/myvhost/htdocs
+
+ <Directory /var/www/myvhost/htdocs/>
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+ </Directory>
+
+ php_value magic_quotes_gpc 0
+ php_value register_globals 0
+ php_value error_reporting "E_ALL & ~E_NOTICE"
+ php_value default_charset "utf-8"
+</VirtualHost>
diff --git a/www-apps/davical/metadata.xml b/www-apps/davical/metadata.xml
new file mode 100644
index 000000000000..6b1d02987300
--- /dev/null
+++ b/www-apps/davical/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>
+ <email>patrick@gentoo.org</email>
+ <name>Patrick Lauer</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apps/dokuwiki/Manifest b/www-apps/dokuwiki/Manifest
new file mode 100644
index 000000000000..2a6111284e25
--- /dev/null
+++ b/www-apps/dokuwiki/Manifest
@@ -0,0 +1,2 @@
+DIST dokuwiki-2014-05-05e.tgz 3218289 SHA256 015b5e76427b97e584f195bab6652beaa80796f12f4a547ba9b6bc4e50387282 SHA512 b306be2378aed7119c9005fc9d0c8af4d89317eac19d633a992c6e37d9fb23e22493f25854e1803c892951ec995adf2a7689e04001666318614dd78813d0ffa4 WHIRLPOOL cb4823e7110fe83eea7d61fbf2937455b44a27805b849bc475ae5c9f74a4de353be283ebd8f2cf95a94df8ea395a2a34b9f2442e763a64c730401aee67347aa9
+DIST dokuwiki-2014-09-29d.tgz 3283317 SHA256 6fc6794e13c8e3fe07f5e02bd09cc3a167486a676e9822fa17aab0a45b094794 SHA512 426c41c5d7c6484cc6d5757dbe8e0ac50bf1088406c5c58d975f19fde5f6cb0a0dafb5a27c9901335b1d65a34578f46ffabbd44eed4f5bbd59d6c3fed1c769e3 WHIRLPOOL 59ea72ab973dfc5119056bfccbd5adae9a2ac45b13dbe5971325ca6e1bc4db2e8213aac1d5aab8d699b43b0602dd4b635841e7279e9535c63ed3d80cc85b1007
diff --git a/www-apps/dokuwiki/dokuwiki-20140505e.ebuild b/www-apps/dokuwiki/dokuwiki-20140505e.ebuild
new file mode 100644
index 000000000000..39a5745575aa
--- /dev/null
+++ b/www-apps/dokuwiki/dokuwiki-20140505e.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp
+
+# upstream uses dashes in the datestamp
+MY_BASE_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
+MY_PV="${MY_BASE_PV}${PV:8:1}"
+
+DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small company's documentation needs"
+HOMEPAGE="http://wiki.splitbrain.org/wiki:dokuwiki"
+SRC_URI="http://download.dokuwiki.org/src/${PN}/${PN}-${MY_PV}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="gd"
+
+DEPEND=""
+RDEPEND="
+ >=dev-lang/php-5.3[xml]
+ virtual/httpd-php:*
+ gd? ( ||
+ (
+ dev-lang/php[gd]
+ media-gfx/imagemagick
+ )
+ )
+"
+
+need_httpd_cgi
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ # create initial changes file
+ touch data/changes.log
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc README
+ rm -f README COPYING
+
+ docinto scripts
+ dodoc bin/*
+ rm -rf bin
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ for x in $(find data/ -not -name '.htaccess'); do
+ webapp_serverowned "${MY_HTDOCSDIR}"/${x}
+ done
+
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess.dist
+ webapp_configfile "${MY_HTDOCSDIR}"/conf
+
+ for x in $(find conf/ -not -name 'msg'); do
+ webapp_configfile "${MY_HTDOCSDIR}"/${x}
+ done
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/dokuwiki/dokuwiki-20140929d-r1.ebuild b/www-apps/dokuwiki/dokuwiki-20140929d-r1.ebuild
new file mode 100644
index 000000000000..7a54790f3106
--- /dev/null
+++ b/www-apps/dokuwiki/dokuwiki-20140929d-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp
+
+# upstream uses dashes in the datestamp
+MY_BASE_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
+MY_PV="${MY_BASE_PV}${PV:8:1}"
+
+DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small company's documentation needs."
+HOMEPAGE="http://wiki.splitbrain.org/wiki:dokuwiki"
+SRC_URI="http://download.dokuwiki.org/src/${PN}/${PN}-${MY_PV}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="gd"
+
+DEPEND=""
+RDEPEND="
+ >=dev-lang/php-5.3[xml]
+ virtual/httpd-php:*
+ gd? ( ||
+ (
+ dev-lang/php[gd]
+ media-gfx/imagemagick
+ )
+ )
+"
+
+need_httpd_cgi
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ # create initial changes file
+ touch data/changes.log
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc README
+ rm -f README COPYING
+
+ docinto scripts
+ dodoc bin/*
+ rm -rf bin
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ for x in $(find data/ -not -name '.htaccess'); do
+ webapp_serverowned "${MY_HTDOCSDIR}"/${x}
+ done
+
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess.dist
+ webapp_configfile "${MY_HTDOCSDIR}"/conf
+
+ for x in $(find conf/ -not -name 'msg'); do
+ webapp_configfile "${MY_HTDOCSDIR}"/${x}
+ done
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/dokuwiki/dokuwiki-20140929d.ebuild b/www-apps/dokuwiki/dokuwiki-20140929d.ebuild
new file mode 100644
index 000000000000..17559c8d503e
--- /dev/null
+++ b/www-apps/dokuwiki/dokuwiki-20140929d.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp depend.php
+
+# upstream uses dashes in the datestamp
+MY_BASE_PV="${PV:0:4}-${PV:4:2}-${PV:6:2}"
+MY_PV="${MY_BASE_PV}${PV:8:1}"
+
+DESCRIPTION="DokuWiki is a simple to use Wiki aimed at a small company's documentation needs."
+HOMEPAGE="http://wiki.splitbrain.org/wiki:dokuwiki"
+SRC_URI="http://download.dokuwiki.org/src/${PN}/${PN}-${MY_PV}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE="gd"
+
+DEPEND=""
+RDEPEND="
+ >=dev-lang/php-5.3[xml]
+ gd? ( ||
+ (
+ dev-lang/php[gd]
+ media-gfx/imagemagick
+ )
+ )
+"
+
+need_httpd_cgi
+need_php_httpd
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+ # create initial changes file
+ touch data/changes.log
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc README
+ rm -f README COPYING
+
+ docinto scripts
+ dodoc bin/*
+ rm -rf bin
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ for x in $(find data/ -not -name '.htaccess'); do
+ webapp_serverowned "${MY_HTDOCSDIR}"/${x}
+ done
+
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess.dist
+ webapp_configfile "${MY_HTDOCSDIR}"/conf
+
+ for x in $(find conf/ -not -name 'msg'); do
+ webapp_configfile "${MY_HTDOCSDIR}"/${x}
+ done
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/dokuwiki/files/postinstall-en.txt b/www-apps/dokuwiki/files/postinstall-en.txt
new file mode 100644
index 000000000000..1816ba6bf88d
--- /dev/null
+++ b/www-apps/dokuwiki/files/postinstall-en.txt
@@ -0,0 +1,52 @@
+To complete installation you need to perform the following steps:
+
+ 1) Configure dokuwiki base options
+ 2) Check the config
+ 3) Notes
+
+1 - Configure dokuwiki base options
+
+ The first thing we need to do is set base options of dokuwiki:
+
+ $ cd ${MY_INSTALLDIR}/conf
+
+ Edit dokuwiki/conf/dokuwiki.php (see config [1]) if you want to change
+ anything within it. Better yet, create ${MY_INSTALLDIR}/conf/local.php containing
+ those lines from dokuwiki.php which you want to change. This way, your
+ changes are preserved when overwriting the dokuwiki.php with a new
+ release.
+
+ $ cp local.php.dist local.php
+
+2 - Check the config
+
+ Finally, test if everything is set up correctly. Use the check option in a
+ URL and pull it up into a browser:
+
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/doku.php?do=check
+
+3) - Notes
+
+ Please see the website [2] for more information on setting up dokuwiki.
+
+ Dokuwiki's default config leaves editing wide open, so please read the
+ acl [3] and user [4] documentation before proceding farther. If you use
+ the plaintext authentication, you may need to do the following:
+
+ $ cd conf/
+ $ cp users.auth.php.dist users.auth.php
+ $ cp acl.auth.php.dist acl.auth.php
+ $ chown apache:apache users.auth.php acl.auth.php
+
+ This enables apache to write to the files for editing the acl/user
+ creation capability.
+
+ If you're updating from an older version of Dokuwiki or want to learn about
+ other authentication methods, check the documentation about authentication
+ backends and plugins[5].
+
+[1] https://www.dokuwiki.org/config
+[2] https://www.dokuwiki.org/dokuwiki
+[3] https://www.dokuwiki.org/acl
+[4] https://www.dokuwiki.org/plugin:authplain
+[5] https://www.dokuwiki.org/auth
diff --git a/www-apps/dokuwiki/metadata.xml b/www-apps/dokuwiki/metadata.xml
new file mode 100644
index 000000000000..777b49b1aa79
--- /dev/null
+++ b/www-apps/dokuwiki/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <maintainer>
+ <email>jmbsvicetto@gentoo.org</email>
+ <name>Jorge Manuel B. S. Vicetto</name>
+ </maintainer>
+ <longdescription lang="en">
+ DokuWiki is a standards compliant, simple to use Wiki, mainly aimed at
+ creating documentation of any kind. It is targeted at developer teams,
+ workgroups and small companies. It has a simple but powerful syntax
+ which makes sure the datafiles remain readable outside the Wiki and
+ eases the creation of structured texts. All data is stored in plain text
+ files - no database is required.
+ </longdescription>
+</pkgmetadata>
diff --git a/www-apps/dotproject/Manifest b/www-apps/dotproject/Manifest
new file mode 100644
index 000000000000..9d05468161d3
--- /dev/null
+++ b/www-apps/dotproject/Manifest
@@ -0,0 +1 @@
+DIST dotproject-2.1.7.tar.gz 4528969 SHA256 1c55e2bfa50f543c4f6fb877870fa99ffe2abb3971aa8ab53c03b25a578a9a74 SHA512 887637d8b66096ca0313dd257de44f2afef587c795cb8009861698f799db4e09677f6cd7e5ee57d3655e81219e25257c379deafac77003bf7e6f82e70eef8f58 WHIRLPOOL ee158b755338e44148913765c58becca1394f1e0bd6218be7636949c64db26f9dfa0ae219d1aee77158e31d72290c68681146b44538bed79ae538bf48076a59e
diff --git a/www-apps/dotproject/dotproject-2.1.7-r1.ebuild b/www-apps/dotproject/dotproject-2.1.7-r1.ebuild
new file mode 100644
index 000000000000..16b1f6cb00b6
--- /dev/null
+++ b/www-apps/dotproject/dotproject-2.1.7-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+inherit eutils webapp depend.php
+
+DESCRIPTION="dotProject is a PHP web-based project management framework"
+HOMEPAGE="http://www.dotproject.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+LICENSE="GPL-2"
+IUSE=""
+
+DEPEND=""
+RDEPEND="app-text/poppler[utils]
+ dev-php/PEAR-Date"
+
+need_httpd_cgi
+need_php_httpd
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-pear-date.patch"
+}
+
+src_install () {
+ webapp_src_preinst
+
+ dodoc ChangeLog README
+ rm -rf ChangeLog README lib/PEAR/Date.php lib/PEAR/Date
+
+ mv includes/config{-dist,}.php
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/includes/config.php
+ webapp_serverowned "${MY_HTDOCSDIR}"/files{,/temp}
+ webapp_serverowned "${MY_HTDOCSDIR}"/locales/en
+
+ webapp_postinst_txt en "${FILESDIR}"/install-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/dotproject/files/dotproject-2.1.7-pear-date.patch b/www-apps/dotproject/files/dotproject-2.1.7-pear-date.patch
new file mode 100644
index 000000000000..a907589f00e2
--- /dev/null
+++ b/www-apps/dotproject/files/dotproject-2.1.7-pear-date.patch
@@ -0,0 +1,39 @@
+diff -u -r dotproject/classes/date.class.php dotproject-patched/classes/date.class.php
+--- dotproject/classes/date.class.php 2011-03-10 06:11:25.000000000 +0100
++++ dotproject-patched/classes/date.class.php 2013-01-03 12:35:36.598020904 +0100
+@@ -8,7 +8,8 @@
+ }
+
+
+-require_once $AppUI->getLibraryClass('PEAR/Date');
++#require_once $AppUI->getLibraryClass('PEAR/Date');
++require_once 'Date.php';
+
+ define('FMT_DATEISO', '%Y%m%dT%H%M%S');
+ define('FMT_DATELDAP', '%Y%m%d%H%M%SZ');
+diff -u -r dotproject/modules/calendar/calendar.class.php dotproject-patched/modules/calendar/calendar.class.php
+--- dotproject/modules/calendar/calendar.class.php 2012-06-19 11:05:19.000000000 +0200
++++ dotproject-patched/modules/calendar/calendar.class.php 2013-01-03 12:36:10.898019883 +0100
+@@ -7,7 +7,8 @@
+ ## Calendar classes
+ ##
+
+-require_once ($AppUI->getLibraryClass('PEAR/Date'));
++#require_once ($AppUI->getLibraryClass('PEAR/Date'));
++require_once 'Date.php';
+ require_once ($AppUI->getSystemClass ('dp'));
+ require_once $AppUI->getSystemClass('libmail');
+ require_once $AppUI->getSystemClass('date');
+diff -u -r dotproject/modules/projects/projects.class.php dotproject-patched/modules/projects/projects.class.php
+--- dotproject/modules/projects/projects.class.php 2011-06-20 13:07:49.000000000 +0200
++++ dotproject-patched/modules/projects/projects.class.php 2013-01-03 12:36:12.709019829 +0100
+@@ -10,7 +10,8 @@
+ */
+
+ require_once ($AppUI->getSystemClass ('dp'));
+-require_once ($AppUI->getLibraryClass('PEAR/Date'));
++#require_once ($AppUI->getLibraryClass('PEAR/Date'));
++require_once 'Date.php';
+ require_once ($AppUI->getModuleClass('tasks'));
+ require_once ($AppUI->getModuleClass('companies'));
+ require_once ($AppUI->getModuleClass('departments'));
diff --git a/www-apps/dotproject/files/install-en.txt b/www-apps/dotproject/files/install-en.txt
new file mode 100644
index 000000000000..049fdc4da7e5
--- /dev/null
+++ b/www-apps/dotproject/files/install-en.txt
@@ -0,0 +1,17 @@
+You will need to provide a database for your dotproject installation.
+
+This assumes you have some knowledge of MySQL, and already have it
+installed and configured. If not, please refer to the Gentoo MySQL
+guide at the following URL:
+
+http://www.gentoo.org/doc/en/mysql-howto.xml
+
+Once you have a database ready all you need to do is to go to this
+location
+
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install
+
+and provide the credentials required for the database access.
+
+Note the administrator password dotproject will provide and after
+logging in with these credentials you can start to use the application.
diff --git a/www-apps/dotproject/metadata.xml b/www-apps/dotproject/metadata.xml
new file mode 100644
index 000000000000..bd5db4864e44
--- /dev/null
+++ b/www-apps/dotproject/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <upstream>
+ <remote-id type="sourceforge">dotproject</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/dragonflycms/Manifest b/www-apps/dragonflycms/Manifest
new file mode 100644
index 000000000000..fa96e486cf01
--- /dev/null
+++ b/www-apps/dragonflycms/Manifest
@@ -0,0 +1 @@
+DIST Dragonfly9.3.3.1.zip 2470386 RMD160 4b0523711016004fb3d6bbb21a5ba3e102c19a6c SHA1 052faab5e0d69654f5261cf7636bc054bd7a4dd1 SHA256 3d88a5c0f983a7ce1f11045a4f8f89cb883b8914f5ec6fe13a1c87dd3b451393
diff --git a/www-apps/dragonflycms/dragonflycms-9.3.3.1.ebuild b/www-apps/dragonflycms/dragonflycms-9.3.3.1.ebuild
new file mode 100644
index 000000000000..97ee2a78d134
--- /dev/null
+++ b/www-apps/dragonflycms/dragonflycms-9.3.3.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit webapp
+
+MY_P=Dragonfly${PV}
+
+DESCRIPTION="A feature-rich open source content management system based off of PHP-Nuke 6.5"
+HOMEPAGE="http://dragonflycms.org"
+SRC_URI="mirror://gentoo/${MY_P}.zip"
+
+RESTRICT="fetch"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip"
+RDEPEND="virtual/httpd-php"
+
+need_httpd_cgi
+
+S="${WORKDIR}"
+
+pkg_nofetch() {
+ elog "Please download ${MY_P}.tar.bz2 from:"
+ elog "http://dragonflycms.org/Downloads/get=130.html"
+ elog "and move it to ${DISTDIR}"
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc documentation/{BACKUP,IMPORTANT_NOTES,INSTALL,README,UPGRADE}.txt
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r public_html/*
+ doins public_html/.htaccess
+
+ webapp_configfile "${MY_HTDOCSDIR}"/install/config.php
+
+ for x in cpg_error.log includes cache modules/coppermine/albums \
+ modules/coppermine/albums/userpics uploads/avatars \
+ uploads/forums; do
+ webapp_serverowned "${MY_HTDOCSDIR}"/${x}
+ done
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/dragonflycms/files/postinstall-en.txt b/www-apps/dragonflycms/files/postinstall-en.txt
new file mode 100644
index 000000000000..34b47080868a
--- /dev/null
+++ b/www-apps/dragonflycms/files/postinstall-en.txt
@@ -0,0 +1,24 @@
+You will need to provide a database for your ${PN} installation.
+
+This assumes you have some knowledge of MySQL, and already have it
+installed and configured. If not, please refer to the Gentoo MySQL
+guide at the following URL:
+
+http://www.gentoo.org/doc/en/mysql-howto.xml
+
+Once you have a database ready all you need to do is to go to this
+location
+
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install.php
+
+and provide the credentials required for the database access.
+
+Note the credentials of the administration user you will generate
+during the installation procedure.
+
+For your own security you will need to remove the installation tools
+by running
+
+rm -rf ${MY_INSTALLDIR}/install*
+
+Enjoy ${PN}!
diff --git a/www-apps/dragonflycms/metadata.xml b/www-apps/dragonflycms/metadata.xml
new file mode 100644
index 000000000000..fea7d5fbc77d
--- /dev/null
+++ b/www-apps/dragonflycms/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <longdescription lang="en">
+ CPG Dragonfly CMS is a feature-rich open source content management system
+ based off of PHP-Nuke 6.5
+ </longdescription>
+ <longdescription lang="nl">
+ CPG Dragonfly CMS is een open source content management system met enorm
+ veel mogelijkheden. Dragonfly is gebaseerd op PHP-Nuke 6.5
+ </longdescription>
+</pkgmetadata>
diff --git a/www-apps/drraw/Manifest b/www-apps/drraw/Manifest
new file mode 100644
index 000000000000..28a32464267a
--- /dev/null
+++ b/www-apps/drraw/Manifest
@@ -0,0 +1,2 @@
+DIST drraw-2.0.1.tgz 40970 SHA256 4fb52e116635951a5767be08b589c34633095394f94c7df5cbc2b8b88cc41c69
+DIST drraw-2.1.3.tgz 45970 SHA256 c3290781426f81327632b4b0da80360882438f3d44cca81fdeaa3f9b22c3674e
diff --git a/www-apps/drraw/drraw-2.0.1.ebuild b/www-apps/drraw/drraw-2.0.1.ebuild
new file mode 100644
index 000000000000..0e5c9cf31ea1
--- /dev/null
+++ b/www-apps/drraw/drraw-2.0.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit webapp
+
+DESCRIPTION="drraw is a simple web based presentation front-end for RRDtool"
+HOMEPAGE="http://web.taranis.org/drraw"
+SRC_URI="http://web.taranis.org/${PN}/dist/${P}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ppc"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.6
+ dev-perl/CGI
+ >=net-analyzer/rrdtool-1.0.47"
+
+need_httpd_cgi
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s|/usr/local/bin/perl|/usr/bin/perl|" drraw.cgi
+ sed -i \
+ -e "s|/somewhere/drraw/saved|/tmp|" \
+ -e "s|/somewhere/drraw/tmp|/tmp|" \
+ drraw.conf
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc CHANGES INSTALL README.EVENTS WISHLIST
+ rm CHANGES INSTALL README.EVENTS WISHLIST
+
+ insinto "${MY_CGIBINDIR}"
+ doins drraw.conf
+
+ exeinto "${MY_CGIBINDIR}"
+ doexe drraw.cgi
+
+ insinto "${MY_ICONSDIR}"
+ doins icons/*.gif
+
+ webapp_configfile "${MY_CGIBINDIR}"/drraw.conf
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/drraw/drraw-2.1.3.ebuild b/www-apps/drraw/drraw-2.1.3.ebuild
new file mode 100644
index 000000000000..498ad54acc92
--- /dev/null
+++ b/www-apps/drraw/drraw-2.1.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit webapp
+
+DESCRIPTION="drraw is a simple web based presentation front-end for RRDtool"
+HOMEPAGE="http://web.taranis.org/drraw"
+SRC_URI="http://web.taranis.org/${PN}/dist/${P}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.6
+ dev-perl/CGI
+ >=net-analyzer/rrdtool-1.2.1"
+
+need_httpd_cgi
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e "s|/usr/local/bin/perl|/usr/bin/perl|" drraw.cgi
+ sed -i \
+ -e "s|/somewhere/drraw/saved|/tmp|" \
+ -e "s|/somewhere/drraw/tmp|/tmp|" \
+ drraw.conf
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc CHANGES INSTALL README.EVENTS WISHLIST
+ rm CHANGES INSTALL README.EVENTS WISHLIST
+
+ insinto "${MY_CGIBINDIR}"
+ doins drraw.conf
+
+ exeinto "${MY_CGIBINDIR}"
+ doexe drraw.cgi
+
+ insinto "${MY_ICONSDIR}"
+ doins icons/*.gif
+
+ webapp_configfile "${MY_CGIBINDIR}"/drraw.conf
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/drraw/files/postinstall-en.txt b/www-apps/drraw/files/postinstall-en.txt
new file mode 100644
index 000000000000..87ca1040a9d4
--- /dev/null
+++ b/www-apps/drraw/files/postinstall-en.txt
@@ -0,0 +1,3 @@
+Now edit ${VHOST_CGIBINDIR}/drraw.conf
+You may want to edit the CGI executable in ${VHOST_CGIBINDIR}
+to set the path to the config file.
diff --git a/www-apps/drraw/metadata.xml b/www-apps/drraw/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/drraw/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
new file mode 100644
index 000000000000..8c8faab4cabc
--- /dev/null
+++ b/www-apps/drupal/Manifest
@@ -0,0 +1,3 @@
+DIST drupal-6.36.tar.gz 1112226 SHA256 e70fc70c7bb268e262bfa57d265dcc4c88daf17e918619d607aaac7285d22ac4 SHA512 ec2ed0875e53291388567de2cc75f20cda0e1dbb14c2f355832053f94275a161db2a1f4b96536f8c71fa2f8547400c924f62e3c326a93d8f58f7dc6bc7bb39ce WHIRLPOOL 260e44bc69fdb02a1e9fb20760fc77d6bf29320a6ce823b7fd0f970554420ad564765c4f153088363c3846699b4e7deae1f024e300280a53de23a81a69bfbf55
+DIST drupal-7.38.tar.gz 3247864 SHA256 dccf3f12135183e94baaf960ce0993ad99c47afefe830b193cd30a17a317853e SHA512 b36399283aa370dc325e0d2cf3f2ed7615f6996ee43c79e3cba2c8ecc62a01b59211f24b56dda8f420cac2caa1bb9212f65158abc11c27d5c0b0a345f386cbeb WHIRLPOOL f678adfba1e63d35539e76dd24d9e680ae85958126a5694a7402be7fe8081a91990755ea71a35322b4c175493ecd7914071741155f119b29c2296f2821a6dcca
+DIST drupal-8.0.0-beta11.tar.gz 10500627 SHA256 0c7a6b84dc6019bc5afcf3066aa9c2a8a5cd4147a03d48314728156cc434bda1 SHA512 bdcac51cb8379711245d7e15a3bc879634c6c88af6799525f7dda3cd5be799193a3e4151d902569f9f008d89f309f7bca2180ebca4cb1f21bce87ac744461748 WHIRLPOOL 44b1a8670c5dfbf9d5208e5c5dc75a3e4c4a674befa1bd64b10409989d72da01e8e0420d9dc1e7d39b633fa49b80166c0e812f2deeb13304f4850fc777e1b36b
diff --git a/www-apps/drupal/drupal-6.36.ebuild b/www-apps/drupal/drupal-6.36.ebuild
new file mode 100644
index 000000000000..35750de6f462
--- /dev/null
+++ b/www-apps/drupal/drupal-6.36.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp
+
+MY_PV=${PV:0:3}.0
+
+DESCRIPTION="PHP-based open-source platform and content management system"
+HOMEPAGE="http://drupal.org/"
+SRC_URI="http://drupal.org/files/projects/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE="+mysql postgres"
+
+RDEPEND="
+ dev-lang/php[gd,pdo,postgres?,xml]
+ virtual/httpd-php
+ mysql? (
+ || (
+ dev-lang/php[mysql]
+ dev-lang/php[mysqli]
+ )
+ )"
+
+need_httpd_cgi
+
+REQUIRED_USE="|| ( mysql postgres )"
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt UPGRADE.txt "
+ dodoc ${docs}
+ rm -f ${docs} INSTALL COPYRIGHT.txt || die
+
+ cp sites/default/{default.settings.php,settings.php} || die
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ dodir "${MY_HTDOCSDIR}"/files
+ webapp_serverowned "${MY_HTDOCSDIR}"/files
+ webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
+ webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
+
+ webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ echo
+ ewarn "SECURITY NOTICE"
+ ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
+ ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
+ echo
+}
diff --git a/www-apps/drupal/drupal-7.38.ebuild b/www-apps/drupal/drupal-7.38.ebuild
new file mode 100644
index 000000000000..7340b1ac4be7
--- /dev/null
+++ b/www-apps/drupal/drupal-7.38.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp
+
+MY_PV=${PV:0:3}.0
+
+DESCRIPTION="PHP-based open-source platform and content management system"
+HOMEPAGE="http://drupal.org/"
+SRC_URI="http://drupal.org/files/projects/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
+
+RDEPEND="
+ dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
+ virtual/httpd-php
+ accelerator? ( ||
+ (
+ dev-php/xcache
+ (
+ >=dev-lang/php-5.5[opcache]
+ dev-php/pecl-apcu
+ )
+ )
+ )
+ uploadprogress? ( dev-php/pecl-uploadprogress )
+ mysql? (
+ || (
+ dev-lang/php[mysql]
+ dev-lang/php[mysqli]
+ )
+ )
+ sqlite? ( dev-lang/php[sqlite] )
+"
+
+need_httpd_cgi
+
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt "
+ dodoc ${docs}
+ rm -f ${docs} INSTALL COPYRIGHT.txt || die
+
+ cp sites/default/{default.settings.php,settings.php} || die
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ dodir "${MY_HTDOCSDIR}"/files
+ webapp_serverowned "${MY_HTDOCSDIR}"/files
+ webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
+ webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
+
+ webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ echo
+ ewarn "SECURITY NOTICE"
+ ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
+ ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
+ echo
+}
diff --git a/www-apps/drupal/drupal-8.0.0_beta11.ebuild b/www-apps/drupal/drupal-8.0.0_beta11.ebuild
new file mode 100644
index 000000000000..ca6797a03c37
--- /dev/null
+++ b/www-apps/drupal/drupal-8.0.0_beta11.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp
+
+MY_PV=${PV:0:3}.0
+MY_P=${P/_/-}
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="PHP-based open-source platform and content management system"
+HOMEPAGE="http://drupal.org/"
+SRC_URI="http://drupal.org/files/projects/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
+
+RDEPEND="
+ dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
+ virtual/httpd-php
+ accelerator? ( ||
+ (
+ dev-php/xcache
+ (
+ >=dev-lang/php-5.5[opcache]
+ dev-php/pecl-apcu
+ )
+ )
+ )
+ uploadprogress? ( dev-php/pecl-uploadprogress )
+ mysql? (
+ || (
+ dev-lang/php[mysql]
+ dev-lang/php[mysqli]
+ )
+ )
+ sqlite? ( dev-lang/php[sqlite] )
+"
+
+need_httpd_cgi
+
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
+ core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPGRADE.txt "
+
+ dodoc ${docs}
+ rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
+
+ cp sites/default/{default.settings.php,settings.php} || die
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ dodir "${MY_HTDOCSDIR}"/files
+ webapp_serverowned "${MY_HTDOCSDIR}"/files
+ webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
+ webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
+
+ webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ echo
+ ewarn "SECURITY NOTICE"
+ ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
+ ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
+ echo
+ ewarn "If this is a new install, unless you want anyone with network access to your server to be"
+ ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
+ echo
+ ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
+ ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
+ ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
+ ewarn "reported by the setup."
+ echo
+}
diff --git a/www-apps/drupal/files/postinstall-en.txt b/www-apps/drupal/files/postinstall-en.txt
new file mode 100644
index 000000000000..aca91ecdac2d
--- /dev/null
+++ b/www-apps/drupal/files/postinstall-en.txt
@@ -0,0 +1,25 @@
+You will need to provide a database for your drupal installation.
+
+This assumes you have some knowledge of MySQL, and already have it
+installed and configured. If not, please refer to the Gentoo MySQL
+guide at the following URL:
+
+http://www.gentoo.org/doc/en/mysql-howto.xml
+
+Once you have a database ready all you need to do is to go to this
+location
+
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
+
+and provide the credential required for the database access.
+
+SECURITY NOTICE: If you use SSL on your Drupal installation, you
+should enable the PHP configuration option 'session.cookie-secure'
+to make it harder for attackers to sniff session cookies.
+
+References:
+CVE-2008-3661
+http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-secure
+http://drupal.org/node/315703
+
+After that you can start to use drupal.
diff --git a/www-apps/drupal/metadata.xml b/www-apps/drupal/metadata.xml
new file mode 100644
index 000000000000..318cc2f778a1
--- /dev/null
+++ b/www-apps/drupal/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<use>
+ <flag name='accelerator'>Add dependency on a php accelerator</flag>
+ <flag name='uploadprogress'>Install <pkg>dev-php/pecl-uploadprogress</pkg> package</flag>
+</use>
+</pkgmetadata>
diff --git a/www-apps/dspam-web/Manifest b/www-apps/dspam-web/Manifest
new file mode 100644
index 000000000000..14533387efa0
--- /dev/null
+++ b/www-apps/dspam-web/Manifest
@@ -0,0 +1 @@
+DIST dspam-3.10.1.tar.gz 1044198 RMD160 f7022c10c7555d8a05e5bacb5804b3dc29f96066 SHA1 dfd78c9f696470077d4e2e2b52f1f42f90ac52cc SHA256 359d9f58564a87da131b8390d0eeecae4aa40d22ff74b97256d46835a2474063
diff --git a/www-apps/dspam-web/dspam-web-3.10.1.ebuild b/www-apps/dspam-web/dspam-web-3.10.1.ebuild
new file mode 100644
index 000000000000..53e9c89a74c7
--- /dev/null
+++ b/www-apps/dspam-web/dspam-web-3.10.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="4"
+
+inherit webapp
+
+DESCRIPTION="Web based administration and user controls for dspam"
+HOMEPAGE="http://dspam.nuclearelephant.com/"
+SRC_URI="http://dspam.nuclearelephant.com/sources/dspam-${PV}.tar.gz"
+
+LICENSE="AGPL-3"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+
+RDEPEND=">=mail-filter/dspam-${PV}[-user-homedirs]
+ dev-perl/GD[png]
+ dev-perl/GD-Graph3d
+ dev-perl/GDGraph
+ dev-perl/GDTextUtil"
+
+need_httpd_cgi
+
+# some FHS-like structure
+HOMEDIR="/var/spool/dspam"
+CONFDIR="/etc/mail/dspam"
+
+S="${WORKDIR}/dspam-${PV}"
+
+src_configure() {
+ econf \
+ --with-dspam-home=${HOMEDIR} \
+ --sysconfdir=${CONFDIR}
+}
+
+src_compile() {
+ cd webui
+ default
+}
+
+src_install() {
+ webapp_src_preinst
+
+ cd webui
+ insinto "${MY_HTDOCSDIR}"
+ insopts -m644
+ doins htdocs/*.{css,gif}
+ insinto "${MY_CGIBINDIR}/templates"
+ doins cgi-bin/templates/*.html
+ insinto "${MY_CGIBINDIR}"
+ doins cgi-bin/{admins,configure.pl,default.prefs,rgb.txt,*.cgi}
+
+ webapp_configfile "${MY_CGIBINDIR}"/{admins,configure.pl,default.prefs,rgb.txt}
+
+ webapp_hook_script "${FILESDIR}/setperms"
+ webapp_postinst_txt en "${FILESDIR}/postinst-en.txt"
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ ewarn "If you're using apache dspam-web's config requires the scripts in the cgi-bin"
+ ewarn "to be run as dspam:dspam. You will have to put a global SuexecUserGroup"
+ ewarn "declaration in the main server config which will force everything in cgi-bin"
+ ewarn "to run as dspam:dspam."
+ ewarn "You should use a dedicated virtual host for this application or at least"
+ ewarn "one that don't have any other cgi scripts."
+ ewarn
+ webapp_pkg_postinst
+}
diff --git a/www-apps/dspam-web/files/postinst-en.txt b/www-apps/dspam-web/files/postinst-en.txt
new file mode 100644
index 000000000000..500f5002abc2
--- /dev/null
+++ b/www-apps/dspam-web/files/postinst-en.txt
@@ -0,0 +1,32 @@
+Define your virtual host like this:
+<VirtualHost *:80>
+ DocumentRoot ${VHOST_HTDOCSDIR}
+ ServerName ${VHOST_HOSTNAME}
+
+ #Use dspam.cgi as main index
+ RewriteEngine On
+ RewriteRule ^/?$ /cgi-bin/dspam.cgi [redirect,last]
+
+ SuexecUserGroup dspam dspam
+ ScriptAlias /cgi-bin/ ${VHOST_CGIBINDIR}/
+
+ <Directory "${VHOST_CGIBINDIR}">
+ Options FollowSymLinks ExecCGI
+ SetHandler cgi-script
+
+ AllowOverride None
+ Order deny,allow
+ Allow from all
+
+ AuthType basic
+ AuthName "DSPAM Control Center"
+ #For those lucky enough to have a LDAP authentication database
+ AuthLDAPURL ldap://localhost:389/ou=People,dc=yourdomain,dc=com?uid?sub?(objectClass=posixAccount)
+ Require valid-user
+ </Directory>
+</VirtualHost>
+
+The configuration files are:
+ - ${VHOST_CGIBINDIR}/configure.pl
+ - ${VHOST_CGIBINDIR}/admins (super-users of this service)
+ - ${VHOST_CGIBINDIR}/default.prefs (not used by those who use MySQL or PostgreSQL backend)
diff --git a/www-apps/dspam-web/files/setperms b/www-apps/dspam-web/files/setperms
new file mode 100644
index 000000000000..91c4fcf10fdf
--- /dev/null
+++ b/www-apps/dspam-web/files/setperms
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [[ "$1" = "install" ]]; then
+ chgrp -R dspam "${VHOST_CGIBINDIR}"
+ chown dspam "${VHOST_CGIBINDIR}" "${VHOST_CGIBINDIR}"/*.cgi
+ chmod -R ugo+r "${VHOST_CGIBINDIR}"
+ chmod 0755 "${VHOST_CGIBINDIR}"
+ chmod ugo+rx "${VHOST_CGIBINDIR}"/*.cgi
+fi
diff --git a/www-apps/dspam-web/metadata.xml b/www-apps/dspam-web/metadata.xml
new file mode 100644
index 000000000000..4f3fa398a3f9
--- /dev/null
+++ b/www-apps/dspam-web/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<longdescription>Web Administrative interface for a statistical-algorithmic hybrid anti-spam filter</longdescription>
+</pkgmetadata>
diff --git a/www-apps/egroupware/Manifest b/www-apps/egroupware/Manifest
new file mode 100644
index 000000000000..c7fb48e154d3
--- /dev/null
+++ b/www-apps/egroupware/Manifest
@@ -0,0 +1,3 @@
+DIST eGroupware-1.8.004.20120613.tar.bz2 10460480 SHA256 63cab7d7dd02c56164fd4670ade765b18d9cbdf3e0a1834025216a651c170c54 SHA512 9b4c953e830d651951e019c3bfed399f9c3e846a819757fba832e6b491626f45fa93142d351f697fc72d5b3e7f1cb2c5353e8f726d30e671b5ef67b01a543402 WHIRLPOOL 7eccfe874597bdc8ec0d3480e3d9c3d1980abb9390f6a7fa8c281603920a188d72fd19be6e6200f03fa133ca1b34353c2d1398bb7378626d9a25dea5496f5b75
+DIST eGroupware-egw-pear-1.8.004.20120613.tar.bz2 75148 SHA256 19ec4e94b24535b5d988dcffdecb922c3b2b63524abd6623f90c690cba51e2e4 SHA512 25e5cacb0e8a19290c3a708f7c77e64458ebd4332bf9a0f95f45db1d144ad0a73253049049206b990543f9194e43b509b0bd94a0179ccbbada4f4567730061d8 WHIRLPOOL 5f980eae9d09fe7a7c7813e7736bc0ae1e3ac88d9ddb54c86b3e44316106f0dacf6b0996e924085301f21d38ef22e64cd1046b7176854d7b2ab045c941c531b8
+DIST eGroupware-gallery-1.8.004.20120613.tar.bz2 10508030 SHA256 a49e1309a3ad8bc1de319fcb93ee8f3696b64ad14ebb44fc5a3efaf77ac437fa SHA512 03eaa49c0dfc309e1d17757a84f45f692ef55cd762f4f049ddd9c22b8ff9a70eb30411607a439a0ea09ec81b545858f657a429bfa81157fc222f44503068fab3 WHIRLPOOL 034d1a9eb673b2a497985327126179d123975a3a73142a8b8024226cd462d5556f5a57999e49e5a459569030afecbf28eb463a781ada34215bee2431e1b639f9
diff --git a/www-apps/egroupware/egroupware-1.8.004.20120613.ebuild b/www-apps/egroupware/egroupware-1.8.004.20120613.ebuild
new file mode 100644
index 000000000000..1f8d067d54f6
--- /dev/null
+++ b/www-apps/egroupware/egroupware-1.8.004.20120613.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils webapp
+
+MY_PN=eGroupware
+
+DESCRIPTION="Web-based GroupWare suite"
+HOMEPAGE="http://www.egroupware.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_PN}-${PV}.tar.bz2
+ mirror://sourceforge/${PN}/${MY_PN}-egw-pear-${PV}.tar.bz2
+ gallery? ( mirror://sourceforge/${PN}/${MY_PN}-gallery-${PV}.tar.bz2 )"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 hppa ppc ~sparc x86"
+IUSE="+jpgraph ldap mysql postgres gallery"
+
+# php deps taken from rpm spec
+# you can use pdo to access almost anything but sqlite is specifically required
+# for the calendar module
+# jpgraph is only needed for the projectmanager module
+RDEPEND="jpgraph? ( dev-php/jpgraph )
+ dev-php/pear
+ dev-php/PEAR-Auth_SASL
+ virtual/httpd-php
+ dev-lang/php[gd,imap,pdo,posix,session,sqlite,ssl,unicode,xml,zip,zlib,ldap?,mysql?,postgres?]
+ virtual/cron"
+
+REQUIRED_USE="|| ( mysql postgres )"
+
+need_httpd_cgi
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ esvn_clean
+
+ if use jpgraph; then
+ einfo "Fixing jpgraph location"
+ MY_JPGRAPH_VERSION="$(best_version dev-php/jpgraph)"
+ MY_JPGRAPH_VERSION="${MY_JPGRAPH_VERSION/'dev-php/jpgraph-'/}"
+ sed -i "s|EGW_SERVER_ROOT . '/../jpgraph/src/jpgraph.php'|'/usr/share/php/jpgraph/jpgraph.php'|" \
+ projectmanager/inc/class.projectmanager_ganttchart.inc.php || die "sed jpgraph failed"
+ sed -i "s|EGW_SERVER_ROOT . '/../jpgraph/src/jpgraph_gantt.php'|'/usr/share/php/jpgraph/jpgraph_gantt.php'|" \
+ projectmanager/inc/class.projectmanager_ganttchart.inc.php || die "sed jpgraph failed"
+ sed -i "s|$jpgraph_path .= SEP.'jpgraph';|$jpgraph_path = dirname('/usr/share/php/jpgraph/jpgraph.php');|" \
+ setup/check_install.php || die "sed jpgraph failed"
+ sed -i "s|'unknown';|'${MY_JPGRAPH_VERSION}';\n \$available = version_compare(\$version,\$min_version,'>=');|" \
+ setup/check_install.php || die "sed jpgraph failed"
+ fi
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc doc/rpm-build/egroupware.cron
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_serverowned "${MY_HTDOCSDIR}/phpgwapi/images"
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en-1.2.txt"
+ webapp_src_install
+}
+
+pkg_postinst() {
+ if use ldap; then
+ elog "If you are using LDAP contacts/addressbook, please read the upgrade instructions at"
+ elog "http://www.egroupware.org/index.php?page_name=wiki&wikipage=ManualSetupUpdate"
+ elog "before running the egroupware setup"
+ fi
+
+ elog "A cronjob to run eGroupware's async services is available at"
+ elog "/usr/share/doc/${P}"
+
+ webapp_pkg_postinst
+}
diff --git a/www-apps/egroupware/files/postinstall-en-1.2.txt b/www-apps/egroupware/files/postinstall-en-1.2.txt
new file mode 100644
index 000000000000..eadc25dbc7f7
--- /dev/null
+++ b/www-apps/egroupware/files/postinstall-en-1.2.txt
@@ -0,0 +1,12 @@
+You are almost done!
+
+0. Restart your webserver and your database daemon.
+
+1. Point your browser to the URL http://${VHOST_HOSTNAME}/egroupware/setup
+and follow the install/upgrade script.
+
+Don't forget to read the installation manual, available from
+http://community.egroupware.org/index.php?page_name=wiki&lang=&wikipage=ManualSetupCheck_install
+It describes the rest of the installation process.
+
+Enjoy eGroupWare!
diff --git a/www-apps/egroupware/metadata.xml b/www-apps/egroupware/metadata.xml
new file mode 100644
index 000000000000..93bdf0b618bc
--- /dev/null
+++ b/www-apps/egroupware/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <use>
+ <flag name="jpgraph">Add <pkg>dev-php/jpgraph</pkg> support</flag>
+ <flag name="gallery">Install gallery2 port for eGW</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">egroupware</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/eyeos/Manifest b/www-apps/eyeos/Manifest
new file mode 100644
index 000000000000..227ff19c3966
--- /dev/null
+++ b/www-apps/eyeos/Manifest
@@ -0,0 +1 @@
+DIST eyeos-2.5.tar.gz 27820727 SHA256 d7ae68977e8cfd2f012f0541e840a6cc51a7a768b5ab6cc6938cc70fdc400f98
diff --git a/www-apps/eyeos/eyeos-2.5.ebuild b/www-apps/eyeos/eyeos-2.5.ebuild
new file mode 100644
index 000000000000..5afe3686c815
--- /dev/null
+++ b/www-apps/eyeos/eyeos-2.5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit webapp eutils
+
+DESCRIPTION="AJAX web-based desktop environment"
+HOMEPAGE="http://www.eyeos.org"
+SRC_URI="mirror://sourceforge/eyeos/eyeos2/${P}.tar.gz"
+
+LICENSE="AGPL-3"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="dev-lang/php[curl,crypt,gd,json,mysql,mysqli,pdo,sharedmem,sqlite]
+ virtual/httpd-php"
+
+S=${WORKDIR}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ # Placeholder for first install
+ touch "${ED}/${MY_HTDOCSDIR}"/settings.php
+ webapp_configfile "${MY_HTDOCSDIR}"/settings.php
+ webapp_serverowned "${MY_HTDOCSDIR}"/settings.php
+
+ # Ugly, but eyeos needs write access in too many places
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/eyeos/system
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/eyeos/tmp
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/eyeos/users
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ elog "To finish your install/upgrade, point your browser to the eyeOS installer at:"
+ elog " http://${VHOST_HOSTNAME}/${PN}/install/"
+ elog "Specific extensions may require additional packages (available or not in"
+ elog "portage), check the installer output"
+ webapp_pkg_postinst
+}
diff --git a/www-apps/eyeos/metadata.xml b/www-apps/eyeos/metadata.xml
new file mode 100644
index 000000000000..03b74a95ece4
--- /dev/null
+++ b/www-apps/eyeos/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>
+ <email>voyageur@gentoo.org</email>
+ <name>Bernard Cafarelli</name>
+ </maintainer>
+ <longdescription>eyeOS is an open source web desktop following the cloud computing concept, written in mainly PHP and XML. It acts as a platform for web applications written using the eyeOS Toolkit. It includes a Desktop environment with more than 60 applications and sys utils</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">eyeos</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/freeradius-dialupadmin/Manifest b/www-apps/freeradius-dialupadmin/Manifest
new file mode 100644
index 000000000000..74ad42a8ac5a
--- /dev/null
+++ b/www-apps/freeradius-dialupadmin/Manifest
@@ -0,0 +1,2 @@
+DIST freeradius-1.1.6.tar.gz 3175652 SHA256 d503bac14ca37eab4798f6ab3dbdfb744aa846f7dc76ded45966d127948e71f8
+DIST freeradius-server-2.1.1.tar.gz 3648766 SHA256 48139053bd4498e6ef0535178059286fafd5ad6642b0348936060fd373194147
diff --git a/www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.70.3-sqldebug.patch b/www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.70.3-sqldebug.patch
new file mode 100644
index 000000000000..1fab1838917b
--- /dev/null
+++ b/www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.70.3-sqldebug.patch
@@ -0,0 +1,11 @@
+--- dialup_admin/conf/admin.conf~ 2005-07-24 17:32:01.000000000 -0400
++++ dialup_admin/conf/admin.conf 2005-07-24 17:32:24.000000000 -0400
+@@ -247,7 +247,7 @@
+ #
+ # Uncomment to enable sql debug
+ #
+-sql_debug: true
++#sql_debug: true
+ #
+ # If set to yes then the HTTP credentials (http authentication)
+ # will be used to connect to the sql server instead of sql_username
diff --git a/www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.80-gentoo.patch b/www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.80-gentoo.patch
new file mode 100644
index 000000000000..7501ba11f1e4
--- /dev/null
+++ b/www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.80-gentoo.patch
@@ -0,0 +1,32 @@
+diff -Nru freeradius-server-2.1.1.orig/dialup_admin/Makefile freeradius-server-2.1.1/dialup_admin/Makefile
+--- freeradius-server-2.1.1.orig/dialup_admin/Makefile 2008-10-12 10:13:16.000000000 +0000
++++ freeradius-server-2.1.1/dialup_admin/Makefile 2008-10-12 10:16:16.000000000 +0000
+@@ -4,7 +4,6 @@
+ # Version: $Id$
+ #
+
+-include ../Make.inc
+
+ DIALUP_PREFIX := /usr/local/dialup_admin
+ DIALUP_DOCDIR := $(DIALUP_PREFIX)/doc
+diff -Nru freeradius-server-2.1.1.orig/dialup_admin/conf/admin.conf freeradius-server-2.1.1/dialup_admin/conf/admin.conf
+--- freeradius-server-2.1.1.orig/dialup_admin/conf/admin.conf 2008-09-25 08:41:26.000000000 +0000
++++ freeradius-server-2.1.1/dialup_admin/conf/admin.conf 2008-10-12 09:14:12.000000000 +0000
+@@ -204,7 +204,7 @@
+ #
+ # Uncomment to enable ldap debug
+ #
+-ldap_debug: true
++#ldap_debug: true
+ #
+ # Allow for defining the ldap filter used when searching for a user
+ # Variables supported:
+@@ -274,7 +274,7 @@
+ #
+ # Uncomment to enable sql debug
+ #
+-sql_debug: true
++#sql_debug: true
+ #
+ # If set to yes then the HTTP credentials (http authentication)
+ # will be used to connect to the sql server instead of sql_username
diff --git a/www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.80-tmpfile.patch b/www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.80-tmpfile.patch
new file mode 100644
index 000000000000..1da5671761ff
--- /dev/null
+++ b/www-apps/freeradius-dialupadmin/files/freeradius-dialupadmin-1.80-tmpfile.patch
@@ -0,0 +1,148 @@
+diff -Nru freeradius-server-2.1.1.orig/dialup_admin/bin/clean_radacct freeradius-server-2.1.1/dialup_admin/bin/clean_radacct
+--- freeradius-server-2.1.1.orig/dialup_admin/bin/clean_radacct 2008-09-25 08:41:26.000000000 +0000
++++ freeradius-server-2.1.1/dialup_admin/bin/clean_radacct 2008-10-12 09:29:50.000000000 +0000
+@@ -5,6 +5,7 @@
+ # Works with mysql and postgresql
+ #
+ use POSIX;
++use File::Temp;
+
+ $conf=shift||'/usr/local/dialup_admin/conf/admin.conf';
+ $back_days = 35;
+@@ -42,11 +43,10 @@
+
+ $query = "DELETE FROM $sql_accounting_table WHERE AcctStopTime IS NULL AND AcctStartTime < '$date';";
+ print "$query\n";
+-open TMP, ">/tmp/clean_radacct.query"
+- or die "Could not open tmp file\n";
+-print TMP $query;
+-close TMP;
+-$command = "$sqlcmd -h$sql_server -u$sql_username $sql_password $sql_database </tmp/clean_radacct.query" if ($sql_type eq 'mysql');
+-$command = "$sqlcmd -U $sql_username -f /tmp/clean_radacct.query $sql_database" if ($sql_type eq 'pg');
+-$command = "$sqlcmd '$sql_server' '$sql_port' '' '$sql_username' '$sql_password' </tmp/clean_radacct.query" if ($sql_type eq 'sqlrelay');
++my ($fh, $tmp_filename) = tempfile() or die "Could not open tmp file\n";
++print $fh $query;
++close $fh;
++$command = "$sqlcmd -h$sql_server -u$sql_username $sql_password $sql_database < $tmp_filename" if ($sql_type eq 'mysql');
++$command = "$sqlcmd -U $sql_username -f $tmp_filename $sql_database" if ($sql_type eq 'pg');
++$command = "$sqlcmd '$sql_server' '$sql_port' '' '$sql_username' '$sql_password' < $tmp_filename" if ($sql_type eq 'sqlrelay');
+ `$command`;
+diff -Nru freeradius-server-2.1.1.orig/dialup_admin/bin/log_badlogins freeradius-server-2.1.1/dialup_admin/bin/log_badlogins
+--- freeradius-server-2.1.1.orig/dialup_admin/bin/log_badlogins 2008-09-25 08:41:26.000000000 +0000
++++ freeradius-server-2.1.1/dialup_admin/bin/log_badlogins 2008-10-12 10:09:58.000000000 +0000
+@@ -14,6 +14,7 @@
+
+ use Date::Manip qw(ParseDate UnixDate);
+ use Digest::MD5;
++use File::Temp;
+ $|=1;
+
+ $file=shift||'none';
+@@ -29,7 +30,8 @@
+ # CHANGE THESE TO MATCH YOUR SETUP
+ #
+ #$regexp = 'from client localhost port 135|from client blabla ';
+-$tmpfile='/var/tmp/sql.input';
++$tmpdir=tempdir( CLEANUP => 1 );
++$tmpfile="$tmpdir/sql.input";
+ #
+ $verbose = 0;
+ #
+diff -Nru freeradius-server-2.1.1.orig/dialup_admin/bin/monthly_tot_stats freeradius-server-2.1.1/dialup_admin/bin/monthly_tot_stats
+--- freeradius-server-2.1.1.orig/dialup_admin/bin/monthly_tot_stats 2008-09-25 08:41:26.000000000 +0000
++++ freeradius-server-2.1.1/dialup_admin/bin/monthly_tot_stats 2008-10-12 09:29:50.000000000 +0000
+@@ -1,5 +1,6 @@
+ #!/usr/bin/perl
+ use POSIX;
++use File::Temp;
+
+ # Log in the mtotacct table aggregated accounting information for
+ # each user spaning in one month period.
+@@ -51,14 +52,13 @@
+ AcctDate <= '$date_end' GROUP BY UserName,NASIPAddress;";
+ print "$query1\n";
+ print "$query2\n";
+-open TMP, ">/tmp/tot_stats.query"
+- or die "Could not open tmp file\n";
+-print TMP "ALTER SESSION SET NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM';\n" if ($sql_type eq 'oracle');
+-print TMP $query1;
+-print TMP $query2;
+-close TMP;
+-$command = "$sqlcmd -h $sql_server -u $sql_username $sql_password $sql_database </tmp/tot_stats.query" if ($sql_type eq 'mysql');
+-$command = "$sqlcmd -U $sql_username -f /tmp/tot_stats.query $sql_database" if ($sql_type eq 'pg');
++my ($fh, $tmp_filename) = tempfile() or die "Could not open tmp file\n";
++print $fh "ALTER SESSION SET NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM';\n" if ($sql_type eq 'oracle');
++print $fh $query1;
++print $fh $query2;
++close $fh;
++$command = "$sqlcmd -h $sql_server -u $sql_username $sql_password $sql_database < $tmp_filename" if ($sql_type eq 'mysql');
++$command = "$sqlcmd -U $sql_username -f $tmp_filename $sql_database" if ($sql_type eq 'pg');
+ $command = "$sqlcmd $sql_username/$pass" . "@" . "$sql_database <$tmpfile.$server" if ($sql_type eq 'oracle');
+-$command = "$sqlcmd '$sql_server' '$sql_port' '' '$sql_username' '$sql_password' </tmp/tot_stats.query" if ($sql_type eq 'sqlrelay');
++$command = "$sqlcmd '$sql_server' '$sql_port' '' '$sql_username' '$sql_password' < $tmp_filename" if ($sql_type eq 'sqlrelay');
+ `$command`;
+diff -Nru freeradius-server-2.1.1.orig/dialup_admin/bin/tot_stats freeradius-server-2.1.1/dialup_admin/bin/tot_stats
+--- freeradius-server-2.1.1.orig/dialup_admin/bin/tot_stats 2008-09-25 08:41:26.000000000 +0000
++++ freeradius-server-2.1.1/dialup_admin/bin/tot_stats 2008-10-12 09:29:50.000000000 +0000
+@@ -1,5 +1,6 @@
+ #!/usr/bin/perl
+ use POSIX;
++use File::Temp;
+
+ # Log in the totacct table aggregated daily accounting information for
+ # each user.
+@@ -48,14 +49,13 @@
+ AcctStopTime < '$date_end' GROUP BY UserName,NASIPAddress;";
+ print "$query1\n";
+ print "$query2\n";
+-open TMP, ">/tmp/tot_stats.query"
+- or die "Could not open tmp file\n";
+-print TMP "ALTER SESSION SET NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM';\n" if ($sql_type eq 'oracle');
+-print TMP $query1;
+-print TMP $query2;
+-close TMP;
+-$command = "$sqlcmd -h $sql_server -u $sql_username $sql_password $sql_database </tmp/tot_stats.query" if ($sql_type eq 'mysql');
+-$command = "$sqlcmd -U $sql_username -f /tmp/tot_stats.query $sql_database" if ($sql_type eq 'pg');
++my ($fh, $tmp_filename) = tempfile() or die "Could not open tmp file\n";
++print $fh "ALTER SESSION SET NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM';\n" if ($sql_type eq 'oracle');
++print $fh $query1;
++print $fh $query2;
++close $fh;
++$command = "$sqlcmd -h $sql_server -u $sql_username $sql_password $sql_database < $tmp_filename" if ($sql_type eq 'mysql');
++$command = "$sqlcmd -U $sql_username -f $tmp_filename $sql_database" if ($sql_type eq 'pg');
+ $command = "$sqlcmd $sql_username/$pass" . "@" . "$sql_database <$tmpfile.$server" if ($sql_type eq 'oracle');
+-$command = "$sqlcmd '$sql_server' '$sql_port' '' '$sql_username' '$sql_password' </tmp/tot_stats.query" if ($sql_type eq 'sqlrelay');
++$command = "$sqlcmd '$sql_server' '$sql_port' '' '$sql_username' '$sql_password' < $tmp_filename" if ($sql_type eq 'sqlrelay');
+ `$command`;
+diff -Nru freeradius-server-2.1.1.orig/dialup_admin/bin/truncate_radacct freeradius-server-2.1.1/dialup_admin/bin/truncate_radacct
+--- freeradius-server-2.1.1.orig/dialup_admin/bin/truncate_radacct 2008-09-25 08:41:26.000000000 +0000
++++ freeradius-server-2.1.1/dialup_admin/bin/truncate_radacct 2008-10-12 09:29:50.000000000 +0000
+@@ -5,6 +5,7 @@
+ # Works with mysql and postgresql
+ #
+ use POSIX;
++use File::Temp;
+
+ $conf=shift||'/usr/local/dialup_admin/conf/admin.conf';
+ $back_days = 90;
+@@ -44,13 +45,12 @@
+ $query .= "DELETE FROM $sql_accounting_table WHERE AcctStopTime < '$date' AND AcctStopTime IS NOT NULL ;";
+ $query .= "UNLOCK TABLES;" if ($sql_type eq 'mysql');
+ print "$query\n";
+-open TMP, ">/tmp/truncate_radacct.query"
+- or die "Could not open tmp file\n";
+-print TMP "ALTER SESSION SET NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM';\n" if ($sql_type eq 'oracle');
+-print TMP $query;
+-close TMP;
+-$command = "$sqlcmd -h$sql_server -u$sql_username $sql_password $sql_database </tmp/truncate_radacct.query" if ($sql_type eq 'mysql');
+-$command = "$sqlcmd -U $sql_username -f /tmp/truncate_radacct.query $sql_database" if ($sql_type eq 'pg');
++my ($fh, $tmp_filename) = tempfile() or die "Could not open tmp file\n";
++print $fh "ALTER SESSION SET NLS_TIMESTAMP_TZ_FORMAT='YYYY-MM-DD HH24:MI:SS.FF TZH:TZM';\n" if ($sql_type eq 'oracle');
++print $fh $query;
++close $fh;
++$command = "$sqlcmd -h$sql_server -u$sql_username $sql_password $sql_database < $tmp_filename" if ($sql_type eq 'mysql');
++$command = "$sqlcmd -U $sql_username -f $tmp_filename $sql_database" if ($sql_type eq 'pg');
+ $command = "$sqlcmd $sql_username/$pass" . "@" . "$sql_database <$tmpfile.$server" if ($sql_type eq 'oracle');
+-$command = "$sqlcmd '$sql_server' '$sql_port' '' '$sql_username' '$sql_password' </tmp/truncate_radacct.query" if ($sql_type eq 'sqlrelay');
++$command = "$sqlcmd '$sql_server' '$sql_port' '' '$sql_username' '$sql_password' < $tmp_filename" if ($sql_type eq 'sqlrelay');
+ `$command`;
diff --git a/www-apps/freeradius-dialupadmin/files/setrootpath b/www-apps/freeradius-dialupadmin/files/setrootpath
new file mode 100644
index 000000000000..124364c291ac
--- /dev/null
+++ b/www-apps/freeradius-dialupadmin/files/setrootpath
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+if [ "$1" = "install" ]; then
+ sed -i -e "s:/usr/\(local/\)\?dialup_admin:${VHOST_ROOT}:" "${VHOST_ROOT}"/{conf/._*admin.conf,conf/admin.conf,bin/*}
+ chmod -R o-rwx "${VHOST_ROOT}"/conf
+fi
diff --git a/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.70.3.ebuild b/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.70.3.ebuild
new file mode 100644
index 000000000000..83cb81e67e16
--- /dev/null
+++ b/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.70.3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils webapp
+MY_FREERADIUS_P="freeradius-1.1.6"
+
+DESCRIPTION="Web administration interface of freeradius server"
+SRC_URI="ftp://ftp.freeradius.org/pub/radius/${MY_FREERADIUS_P}.tar.gz"
+HOMEPAGE="http://www.freeradius.org/dialupadmin.html"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+LICENSE="GPL-2"
+
+DEPEND="dev-lang/php
+ dev-perl/DateManip
+ sys-apps/findutils
+ >=net-dialup/${MY_FREERADIUS_P}"
+
+S="${WORKDIR}/${MY_FREERADIUS_P}/dialup_admin"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-sqldebug.patch"
+
+ sed -i -e 's:/usr/local:/usr:' \
+ -e 's:/usr/etc/raddb:${general_raddb_dir}:' \
+ -e 's:/usr/radiusd::' \
+ conf/admin.conf
+ sed -i -e 's:/usr/local:/usr:' bin/*
+
+ #rename files .php3 -> .php
+ (find . -iname '*.php3' | (
+ local PHPFILE
+ while read PHPFILE; do
+ mv "${PHPFILE}" "${PHPFILE/.php3/.php}"
+ done
+ )) && \
+ (find . -type f | xargs sed -i -e 's:[.]php3:.php:g') || \
+ die "failed to replace php3 with php"
+
+ # remove cvs data
+ ecvs_clean
+
+ # fix dangling ../ to deal with the way webapp-config installs files
+ find . -name '*.php' | xargs sed -i \
+ -e 's:../conf/:../../conf/:' \
+ -e 's:../html/:../../html/:' \
+ -e 's:../lib/:../../lib/:'
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r htdocs/*
+ insinto "${MY_HOSTROOTDIR}"
+ doins -r conf html lib
+ exeinto "${MY_HOSTROOTDIR}/bin"
+ dodoc bin/*.cron bin/Changelog*
+ rm bin/*.cron bin/Changelog*
+ doexe bin/*
+
+ insinto "${MY_SQLSCRIPTSDIR}"
+ doins sql/*
+
+ dodoc Changelog README doc/*
+
+ webapp_hook_script "${FILESDIR}/setrootpath"
+
+ cd "${D}/${MY_HOSTROOTDIR}"
+ local CONFFILE
+ for CONFFILE in conf/* ; do
+ webapp_configfile "${MY_HOSTROOTDIR}/${CONFFILE}"
+ webapp_serverowned "${MY_HOSTROOTDIR}/${CONFFILE}"
+ done
+
+ webapp_src_install
+}
diff --git a/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.80.ebuild b/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.80.ebuild
new file mode 100644
index 000000000000..db67eece9204
--- /dev/null
+++ b/www-apps/freeradius-dialupadmin/freeradius-dialupadmin-1.80.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit eutils webapp
+MY_FREERADIUS_PV="2.1.1"
+
+DESCRIPTION="Web administration interface of freeradius server"
+SRC_URI="ftp://ftp.freeradius.org/pub/radius/freeradius-server-${MY_FREERADIUS_PV}.tar.gz"
+HOMEPAGE="http://www.freeradius.org/dialupadmin.html"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+LICENSE="GPL-2"
+
+DEPEND="sys-apps/findutils
+ sys-apps/sed"
+RDEPEND="dev-lang/php
+ dev-perl/DateManip
+ >=net-dialup/freeradius-${MY_FREERADIUS_PV}"
+
+S="${WORKDIR}/freeradius-server-${MY_FREERADIUS_PV}/dialup_admin"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+ epatch "${FILESDIR}/${P}-tmpfile.patch"
+
+ sed -i -e 's:/usr/local:/usr:' \
+ -e 's:/usr/etc/raddb:${general_raddb_dir}:' \
+ -e 's:/usr/radiusd::' \
+ conf/admin.conf
+ sed -i -e 's:/usr/local:/usr:' bin/*
+
+ #rename files .php3 -> .php
+ (find . -iname '*.php3' | (
+ local PHPFILE
+ while read PHPFILE; do
+ mv "${PHPFILE}" "${PHPFILE/.php3/.php}"
+ done
+ )) && \
+ (find . -type f | xargs sed -i -e 's:[.]php3:.php:g') || \
+ die "failed to replace php3 with php"
+
+ # fix dangling ../ to deal with the way webapp-config installs files
+ find . -name '*.php' | xargs sed -i \
+ -e 's:../conf/:../../conf/:' \
+ -e 's:../html/:../../html/:' \
+ -e 's:../lib/:../../lib/:'
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r htdocs/*
+ insinto "${MY_HOSTROOTDIR}"
+ doins -r conf html lib
+ exeinto "${MY_HOSTROOTDIR}/bin"
+ dodoc bin/*.cron bin/Changelog*
+ rm bin/*.cron bin/Changelog*
+ doexe bin/*
+
+ insinto "${MY_SQLSCRIPTSDIR}"
+ doins -r sql/*
+
+ dodoc Changelog README doc/*
+
+ webapp_hook_script "${FILESDIR}/setrootpath"
+
+ cd "${D}/${MY_HOSTROOTDIR}"
+ local CONFFILE
+ for CONFFILE in conf/* ; do
+ webapp_configfile "${MY_HOSTROOTDIR}/${CONFFILE}"
+ webapp_serverowned "${MY_HOSTROOTDIR}/${CONFFILE}"
+ done
+
+ webapp_src_install
+}
diff --git a/www-apps/freeradius-dialupadmin/metadata.xml b/www-apps/freeradius-dialupadmin/metadata.xml
new file mode 100644
index 000000000000..02f3dbc904a3
--- /dev/null
+++ b/www-apps/freeradius-dialupadmin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-dialup</herd>
+<longdescription>
+The FreeRADIUS server comes including a powerfull web interface written in PHP
+to administer radius users, called dialupadmin. Dialup Admin supports users
+either in SQL (MySQL or PostgreSQL are supported) or in LDAP. Apart from the
+web pages, it also includes a number of scripts to make the administrator's
+life a lot easier.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/gallery/Manifest b/www-apps/gallery/Manifest
new file mode 100644
index 000000000000..9802eee27363
--- /dev/null
+++ b/www-apps/gallery/Manifest
@@ -0,0 +1,2 @@
+DIST gallery-2.3.2-full.tar.gz 14569436 SHA256 810ed73c456a3299ba50d9fcca6725d0654641c078c9d7c278d4875bad2af3fc SHA512 e4ee2007018ecdc6df2cb715798f57a94d2fcf5618a06812d704b45ba398cc9f52465d4ea1d830f2b99611c85d8853d7639059b3761f3b5d77ccc16d1e4ae0ad WHIRLPOOL 4591f8d69d173f01108fec5c21c7bde3f519c44177ef268866031e0c1cc021c452415b73950011e2f1cd46ee314d2741260bcd4ba80bdee56ca5b119a2452975
+DIST gallery-3.0.9.zip 2065722 SHA256 62d86c3a7252b25a17eead54a2b918bfdaac19d43f81132b73dcc735fdf20f74 SHA512 fd6f15abe69b4e80c1e3c24379e123fb2352cd7b0416e5a3aaedb857c32ff2412fc3eabba90e3227a8c3b0d1d27eedcf9a6e10c81b8dac8037f7019730b5fe89 WHIRLPOOL 75d61ab75449557a4d8a0d43ce3bcf315eed28db0fc8ec57ad2e560f0e80c3ab5df4a8a7f709abcff14baa52e85a814f1d0b7a83a21e241f1aa8d13ad7770df2
diff --git a/www-apps/gallery/files/postinstall-en.txt b/www-apps/gallery/files/postinstall-en.txt
new file mode 100644
index 000000000000..96b52684b59e
--- /dev/null
+++ b/www-apps/gallery/files/postinstall-en.txt
@@ -0,0 +1,24 @@
+For new installations:
+
+1. Install the webapp using
+
+ webapp-config -h <VHOST_HOSTNAME> -d <VHOST_APPDIR> -I gallery X.Y.Z
+
+where either the VHOST_HOSTNAME or VHOST_APPDIR are optional and X.Y.Z
+is the version of gallery you just emerged.
+
+2. Create a mysql database for Gallery 3.
+
+ mysqladmin -u root -p create gallery3
+ mysql gallery3 -u root -p -e \
+ "GRANT ALL ON gallery3.* TO username@localhost IDENTIFIED BY 'password'"
+
+3. Now browse to http://<VHOST_HOSTNAME>/<VHOST_APPDIR>/installer. Make sure
+the database name, user and password match what you created in step 2.
+
+4. Enjoy!
+
+
+The Gallery 3 user's guide can be found at
+
+ http://codex.galleryproject.org/Gallery3:User_guide:Gallery3:Installing_and_upgrading#Upgrading
diff --git a/www-apps/gallery/files/postinstall-en2.txt b/www-apps/gallery/files/postinstall-en2.txt
new file mode 100755
index 000000000000..bcc977036752
--- /dev/null
+++ b/www-apps/gallery/files/postinstall-en2.txt
@@ -0,0 +1,27 @@
+For new installations:
+
+1. Create a directory to share photos and make it writeable by the web server.
+
+2. Create a database for Gallery 2.
+ MySQL: mysqladmin -uroot create gallery2
+ mysql gallery2 -uroot -e"GRANT ALL ON gallery2.* TO
+ username@localhost IDENTIFIED BY 'password'"
+ PostgreSQL: createdb gallery2 -E UNICODE
+ if that doesn't work, try
+ createdb gallery2 -E SQL_ASCII
+ if that doesn't work either, try
+ createdb gallery2
+
+3. Now browse to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install
+
+NOTE: The installer may complain that FfmpegToolkit.class has been modified.
+This is normal, as we patch it to fix a bug with newer versions of ffmpeg.
+
+For upgrades:
+
+1. Copy over your config.php and the g2data directory.
+
+2. If you are using a PHP accelerator, flush its cache.
+
+3. Browse to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/upgrade and follow the
+ instructions.
diff --git a/www-apps/gallery/files/postupgrade-en.txt b/www-apps/gallery/files/postupgrade-en.txt
new file mode 100644
index 000000000000..2d41eb21f0e0
--- /dev/null
+++ b/www-apps/gallery/files/postupgrade-en.txt
@@ -0,0 +1,19 @@
+To upgreade:
+
+1. Upgrade the webapp using
+
+ webapp-config -h <VHOST_HOSTNAME> -d <VHOST_APPDIR> -U gallery X.Y.Z
+
+2. Direct your browser to
+
+ http://<VHOST_HOSTNAME>/<VHOST_APPDIR>/index.php/upgrader
+
+or alternatively, at a shell prompt, run
+
+ php index.php upgrade
+
+3. Enjoy!
+
+The Gallery 3 user's guide can be found at
+
+ http://codex.galleryproject.org/Gallery3:User_guide:Gallery3:Installing_and_upgrading#Upgrading
diff --git a/www-apps/gallery/gallery-2.3.2.ebuild b/www-apps/gallery/gallery-2.3.2.ebuild
new file mode 100644
index 000000000000..a3b12868d005
--- /dev/null
+++ b/www-apps/gallery/gallery-2.3.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit webapp eutils depend.php confutils
+
+DESCRIPTION="Web based (PHP Script) photo album viewer/creator"
+HOMEPAGE="http://galleryproject.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}-full.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 hppa ppc ppc64 x86"
+IUSE="ffmpeg +gd imagemagick +mysql netpbm postgres raw sqlite unzip zip"
+
+RDEPEND="raw? ( media-gfx/dcraw )
+ ffmpeg? ( virtual/ffmpeg )
+ imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
+ netpbm? ( media-libs/netpbm media-gfx/jhead )
+ unzip? ( app-arch/unzip )
+ zip? ( app-arch/zip )
+ sqlite? ( dev-lang/php[pdo] dev-lang/php[sqlite] )
+ mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )
+ dev-lang/php[session,postgres?,gd?]
+ virtual/httpd-php"
+
+S=${WORKDIR}/${PN}2
+
+need_httpd_cgi
+
+pkg_setup() {
+ webapp_pkg_setup
+ confutils_require_any gd imagemagick netpbm
+ confutils_require_any mysql postgres sqlite
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dohtml README.html
+ rm README.html LICENSE
+ sed -i -e "/^LICENSE\>/d" -e "/^README\.html\>/d" MANIFEST
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en2.txt"
+ webapp_src_install
+}
+
+pkg_postinst() {
+ elog "You are strongly encouraged to back up your database"
+ elog "and the g2data directory, as upgrading may make"
+ elog "irreversible changes to both."
+ elog
+ elog "g2data dir: cp -Rf /path/to/g2data/ /path/to/backup"
+ elog "mysql: mysqldump --opt -u username -h hostname -p database > /path/to/backup.sql"
+ elog "postgres: pg_dump -h hostname --format=t database > /path/to/backup.sql"
+ webapp_pkg_postinst
+}
diff --git a/www-apps/gallery/gallery-3.0.9.ebuild b/www-apps/gallery/gallery-3.0.9.ebuild
new file mode 100644
index 000000000000..c4bd59fa8180
--- /dev/null
+++ b/www-apps/gallery/gallery-3.0.9.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit webapp
+
+DESCRIPTION="Web based (PHP Script) photo album viewer/creator"
+HOMEPAGE="http://gallery.menalto.com/"
+SRC_URI="mirror://sourceforge/gallery/${PN}/${P}.zip"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 hppa ppc ppc64 x86"
+IUSE="ffmpeg +gd imagemagick mysql mysqli"
+
+# Build depend is on unzip
+DEPEND="app-arch/unzip"
+
+#PHP flags
+PHP_REQUIRED_FLAGS="ctype,filter,iconv,json,simplexml,tokenizer,unicode"
+PHP_OPTIONAL_FLAGS="gd?,mysql?,mysqli?"
+
+# No forced dependency on
+# mysql? ( virtual/mysql )
+# which may live on another server
+RDEPEND="
+ imagemagick? ( || (
+ media-gfx/imagemagick
+ media-gfx/graphicsmagick[imagemagick]
+ ) )
+ ffmpeg? ( virtual/ffmpeg )
+ >=dev-lang/php-5.2.3[${PHP_REQUIRED_FLAGS},${PHP_OPTIONAL_FLAGS}]
+ virtual/httpd-php"
+
+REQUIRED_USE="
+ || ( gd imagemagick )
+ || ( mysql mysqli )"
+
+S="${WORKDIR}/${PN}3"
+
+src_install() {
+ webapp_src_preinst
+
+ rm LICENSE
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ keepdir "${MY_HTDOCSDIR}"/var
+ webapp_serverowned "${MY_HTDOCSDIR}"/var
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
+
+ webapp_src_install
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "\033[1;33m**************************************************\033[00m"
+ ewarn
+ ewarn "gallery3 requires short_open_tag to be enabled."
+ ewarn "You need to edit \"/etc/php/apache2-php5.?/php.ini\","
+ ewarn "set short_open_tag to \"On\" and then restart apache."
+ ewarn
+ ewarn "This ebuild does not depend on mysql or mariadb,"
+ ewarn "because the database may run on different host. But"
+ ewarn "you will need to run a database server somewhere."
+ ewarn
+ ewarn "\033[1;33m**************************************************\033[00m"
+ ewarn
+
+ einfo
+ einfo "\033[1;32m**************************************************\033[00m"
+ einfo
+ einfo "To see the post install instructions, do"
+ einfo
+ einfo " webapp-config --show-postinst ${PN} ${PVR}"
+ einfo
+ einfo "or for the post upgrade instructions, do"
+ einfo
+ einfo " webapp-config --show-postupgrade ${PN} ${PVR}"
+ einfo
+ einfo "\033[1;32m**************************************************\033[00m"
+ einfo
+}
diff --git a/www-apps/gallery/metadata.xml b/www-apps/gallery/metadata.xml
new file mode 100644
index 000000000000..479dd79246b9
--- /dev/null
+++ b/www-apps/gallery/metadata.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <maintainer>
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+ <use>
+ <flag name="netpbm">Add <pkg>media-libs/netpbm</pkg> support</flag>
+ <flag name="unzip">Add <pkg>app-arch/unzip</pkg> support for the archive
+ upload module</flag>
+ <flag name="zip">Add <pkg>app-arch/zip</pkg> for the zip download
+ module</flag>
+ </use>
+ <longdescription>
+ Gallery is a web based software product that lets you manage your photos on
+ your own website. With Gallery you can easily create and maintain albums of
+ photos via an intuitive interface. Photo management includes automatic
+ thumbnail creation, image resizing, rotation, ordering, captioning,
+ searching and more. Albums and photos can have view, edit, delete and other
+ permissions per individual authenticated user for an additional level of
+ privacy. It's great for communities - give accounts to your friends and
+ family and let them upload and manage their own photos on your website!
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">gallery</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/gitit/Manifest b/www-apps/gitit/Manifest
new file mode 100644
index 000000000000..577464675a45
--- /dev/null
+++ b/www-apps/gitit/Manifest
@@ -0,0 +1,5 @@
+DIST gitit-0.10.3.1.tar.gz 209218 SHA256 a5aabbac331436121d7178533fad5482fb0e4469852dea48b32063ef7ccea6ea SHA512 a288386bc539fb74d95a8061f30c2ea7fd59d94dedcfe0f383cae5c86ebf45d930df39db02bcd876ea4eccebf98942ec4f12cdec8a8f05d69b3133f495b3dd04 WHIRLPOOL beed0624576de2c38009f52090bd938496615278c76a7871834e78ad441f4fc13f18ef36d8e39798e735bad6cab574db426504a65b8addcb64852393c2dad7d6
+DIST gitit-0.10.6.1.tar.gz 265716 SHA256 c0ceb611e3e61f37af9e1fd1330a493ffbd07c59455cba988f35f3e881cadfd0 SHA512 92fa8c3687760b77023e5f999359544c0089b1d9eb84f2b65652abe0b70104f99befdafb344b052aba4cc46e1cabbcc332e30040fcc6243a745577770404b582 WHIRLPOOL 03e9143a6a00892e3bc24d7d2c3a5e90c0b5f2406113fe62867368aa828e4ce884d8f5d385c755addde9609abdb579d4959e70a3b2617a1c72816e89949a4df7
+DIST gitit-0.10.6.2.tar.gz 271290 SHA256 ea5b443479ee797e8d9c851818feb7fd90830a45e4bff2f740b4e256cd268f58 SHA512 4a7391b004bc8982e1400c4cbac68b89b089136dcd4d9cdeff4dd2c02f409697bc41f4bf1527f002c9957024d308a518d6e71a3fe8ef8cf9a22aec7010f2f7c5 WHIRLPOOL 961d72ddfe7f1548b972912c07b94d308dac79da0297ad77e7017eaa0cc78ca5290766b6063c2f775db6e37b02fb2ca56de528d10c01affea7ff5b5641899e6f
+DIST gitit-0.11.1.tar.gz 275587 SHA256 29bbb782e2066bf831ad1aff471208e928310fc9ab6bfb32a775cd7521f19d1b SHA512 f153e8f402ceed453a29fc8ba06587c13a9370ea351e20031e32b2797bd79ddfa5b77dd770244d8a682b8a283a80e8eca3270a2b3e411c1d5210d1449a946547 WHIRLPOOL 89a95d387f4d7f66ea0124acdaadb2c42f4d9c17b7f54d8eb2026737ac01c1cf02f9a6ce63ecf1f12f665638001641e91aecbf03c2e2add694acd8539c10679a
+DIST gitit-0.11.tar.gz 273093 SHA256 c94271744ec5fe846e1b3994fc0349f4a38120a8d60618bedc1909367acf63a0 SHA512 6a53ecc1d30058693e41a34d8fa6fa420d181d249c8ddda904f46b62d070e90f90af8bcc264a9d8d1cc0ef0b8112ec995e068f44ffb5c61ac241bf01b487a532 WHIRLPOOL 520f2f0a1fb9e2eaed6eb6530c47c0d3aef25c6bd5f3034401deffc0648ab3895eb7c70a9e828b0b51e9d13d883191083912cb68bb3cc231ccca4493bf31bd4a
diff --git a/www-apps/gitit/files/gitit-0.10.3.1-pandoc-1.12.patch b/www-apps/gitit/files/gitit-0.10.3.1-pandoc-1.12.patch
new file mode 100644
index 000000000000..c1f463ce499f
--- /dev/null
+++ b/www-apps/gitit/files/gitit-0.10.3.1-pandoc-1.12.patch
@@ -0,0 +1,129 @@
+commit 48155008397bdaed4f97c5678d83c70d4bc3f0ff
+Author: John MacFarlane <fiddlosopher@gmail.com>
+Date: Sat Sep 14 19:24:01 2013 -0700
+
+ Changes to allow compilation with pandoc 1.12.
+
+ TODO: Better handling of images and other resources in
+ Docx, ODT, PDF exports.
+
+diff --git a/Network/Gitit/ContentTransformer.hs b/Network/Gitit/ContentTransformer.hs
+index 9bf656a..1489c4f 100644
+--- a/Network/Gitit/ContentTransformer.hs
++++ b/Network/Gitit/ContentTransformer.hs
+@@ -85,6 +85,7 @@ import Network.URI (isUnescapedInURI)
+ import Network.URL (encString)
+ import Prelude hiding (catch)
+ import System.FilePath
++import qualified Text.Pandoc.Builder as B
+ import Text.HTML.SanitizeXSS (sanitizeBalance)
+ import Text.Highlighting.Kate
+ import Text.Pandoc hiding (MathML, WebTeX, MathJax)
+@@ -452,8 +453,8 @@ addPageTitleToPandoc :: String -> Pandoc -> ContentTransformer Pandoc
+ addPageTitleToPandoc title' (Pandoc _ blocks) = do
+ updateLayout $ \layout -> layout{ pgTitle = title' }
+ return $ if null title'
+- then Pandoc (Meta [] [] []) blocks
+- else Pandoc (Meta [Str title'] [] []) blocks
++ then Pandoc nullMeta blocks
++ else Pandoc (B.setMeta "title" (B.str title') nullMeta) blocks
+
+ -- | Adds javascript links for math support.
+ addMathSupport :: a -> ContentTransformer a
+@@ -553,9 +554,10 @@ inlinesToString = concatMap go
+ LineBreak -> " "
+ Math DisplayMath s -> "$$" ++ s ++ "$$"
+ Math InlineMath s -> "$" ++ s ++ "$"
+- RawInline "tex" s -> s
++ RawInline (Format "tex") s -> s
+ RawInline _ _ -> ""
+ Link xs _ -> concatMap go xs
+ Image xs _ -> concatMap go xs
+ Note _ -> ""
++ Span _ xs -> concatMap go xs
+
+diff --git a/Network/Gitit/Export.hs b/Network/Gitit/Export.hs
+index 2eb5c2c..38d5bfa 100644
+--- a/Network/Gitit/Export.hs
++++ b/Network/Gitit/Export.hs
+@@ -79,7 +79,7 @@ respondX templ mimetype ext fn opts page doc = do
+ then fixURLs page doc
+ else return doc
+ respond mimetype ext (fn opts{writerTemplate = template
+- ,writerSourceDirectory = repositoryPath cfg
++ ,writerSourceURL = Just $ baseUrl cfg
+ ,writerUserDataDir = pandocUserData cfg})
+ page doc'
+
+@@ -135,7 +135,7 @@ respondSlides templ slideVariant page doc = do
+ writerVariables =
+ ("body",body''):("dzslides-core",dzcore):("highlighting-css",pygmentsCss):variables'
+ ,writerTemplate = template
+- ,writerSourceDirectory = repositoryPath cfg
++ ,writerSourceURL = Just $ baseUrl cfg
+ ,writerUserDataDir = pandocUserData cfg
+ } (Pandoc meta [])
+ h' <- liftIO $ makeSelfContained (pandocUserData cfg) h
+diff --git a/Network/Gitit/Types.hs b/Network/Gitit/Types.hs
+index a278633..87d6b29 100644
+--- a/Network/Gitit/Types.hs
++++ b/Network/Gitit/Types.hs
+@@ -400,7 +400,7 @@ type Handler = GititServerPart Response
+ fromEntities :: String -> String
+ fromEntities ('&':xs) =
+ case lookupEntity ent of
+- Just c -> c : fromEntities rest
++ Just c -> c ++ fromEntities rest
+ Nothing -> '&' : fromEntities xs
+ where (ent, rest) = case break (\c -> isSpace c || c == ';') xs of
+ (zs,';':ys) -> (zs,ys)
+diff --git a/data/default.conf b/data/default.conf
+index e2d6cae..8a6d818 100644
+--- a/data/default.conf
++++ b/data/default.conf
+@@ -238,8 +238,8 @@ use-feed: no
+
+ base-url:
+ # the base URL of the wiki, to be used in constructing feed IDs
+-# and RPX token_urls. Set this if use-feed is 'yes' or
+-# authentication-method is 'rpx'.
++# and RPX token_urls, and in exporting docx and pdf.
++# Set this if use-feed is 'yes' or authentication-method is 'rpx'.
+
+ absolute-urls: no
+ # make wikilinks absolute with respect to the base-url.
+diff --git a/gitit.cabal b/gitit.cabal
+index 53bf8fb..07a76f7 100644
+--- a/gitit.cabal
++++ b/gitit.cabal
+@@ -117,8 +117,8 @@ Library
+ exposed-modules: Network.Gitit.Interface
+ build-depends: ghc, ghc-paths
+ cpp-options: -D_PLUGINS
+- build-depends: base >= 3, pandoc >= 1.10.0.5 && < 1.12,
+- pandoc-types >= 1.10 && < 1.11, filepath, safe
++ build-depends: base >= 3, pandoc >= 1.12 && < 1.13,
++ pandoc-types >= 1.12 && < 1.13, filepath, safe
+ extensions: CPP
+ if impl(ghc >= 6.12)
+ ghc-options: -Wall -fno-warn-unused-do-bind
+@@ -134,8 +134,8 @@ Executable gitit
+ pretty,
+ xhtml,
+ containers,
+- pandoc >= 1.10.0.5 && < 1.12,
+- pandoc-types >= 1.10 && < 1.11,
++ pandoc >= 1.12 && < 1.13,
++ pandoc-types >= 1.12 && < 1.13,
+ process,
+ filepath,
+ directory,
+@@ -164,7 +164,7 @@ Executable gitit
+ ConfigFile >= 1 && < 1.2,
+ feed >= 0.3.6 && < 0.4,
+ xss-sanitize >= 0.3 && < 0.4,
+- tagsoup >= 0.12 && < 0.13,
++ tagsoup >= 0.13 && < 0.14,
+ blaze-html >= 0.4 && < 0.7,
+ json >= 0.4 && < 0.8
+ if impl(ghc >= 6.10)
diff --git a/www-apps/gitit/files/gitit-0.10.3.1-tagsoup-0.13.patch b/www-apps/gitit/files/gitit-0.10.3.1-tagsoup-0.13.patch
new file mode 100644
index 000000000000..1c261b8bff79
--- /dev/null
+++ b/www-apps/gitit/files/gitit-0.10.3.1-tagsoup-0.13.patch
@@ -0,0 +1,22 @@
+diff --git a/Network/Gitit/Types.hs b/Network/Gitit/Types.hs
+index a278633..6f2b65f 100644
+--- a/Network/Gitit/Types.hs
++++ b/Network/Gitit/Types.hs
+@@ -1,4 +1,4 @@
+-{-# LANGUAGE TypeSynonymInstances, ScopedTypeVariables, FlexibleInstances #-}
++{-# LANGUAGE TypeSynonymInstances, ScopedTypeVariables, FlexibleInstances, CPP #-}
+ {-
+ Copyright (C) 2009 John MacFarlane <jgm@berkeley.edu>,
+ Anton van Straaten <anton@appsolutions.com>
+@@ -400,7 +400,11 @@ type Handler = GititServerPart Response
+ fromEntities :: String -> String
+ fromEntities ('&':xs) =
+ case lookupEntity ent of
++#if MIN_VERSION_tagsoup(0,13,0)
++ Just c -> c ++ fromEntities rest
++#else
+ Just c -> c : fromEntities rest
++#endif
+ Nothing -> '&' : fromEntities xs
+ where (ent, rest) = case break (\c -> isSpace c || c == ';') xs of
+ (zs,';':ys) -> (zs,ys)
diff --git a/www-apps/gitit/files/gitit-0.10.6.2-ghc-7.10.patch b/www-apps/gitit/files/gitit-0.10.6.2-ghc-7.10.patch
new file mode 100644
index 000000000000..4644ff43ffa7
--- /dev/null
+++ b/www-apps/gitit/files/gitit-0.10.6.2-ghc-7.10.patch
@@ -0,0 +1,47 @@
+--- gitit-0.10.6.2-orig/Network/Gitit/Authentication.hs 2015-04-03 14:18:02.000000000 +1100
++++ gitit-0.10.6.2/Network/Gitit/Authentication.hs 2015-04-05 20:18:28.239989325 +1000
+@@ -1,4 +1,4 @@
+-{-# LANGUAGE ScopedTypeVariables #-}
++{-# LANGUAGE ScopedTypeVariables, FlexibleContexts #-}
+ {-
+ Copyright (C) 2009 John MacFarlane <jgm@berkeley.edu>,
+ Henry Laxen <nadine.and.henry@pobox.com>
+--- gitit-0.10.6.2-orig/Network/Gitit/Feed.hs 2015-04-03 14:18:02.000000000 +1100
++++ gitit-0.10.6.2/Network/Gitit/Feed.hs 2015-04-05 20:19:13.496945226 +1000
+@@ -1,3 +1,4 @@
++{-# LANGUAGE CPP #-}
+ {-
+ Copyright (C) 2009 Gwern Branwen <gwern0@gmail.com> and
+ John MacFarlane <jgm@berkeley.edu>
+@@ -22,7 +23,11 @@
+ module Network.Gitit.Feed (FeedConfig(..), filestoreToXmlFeed) where
+
+ import Data.Time (UTCTime, formatTime, getCurrentTime, addUTCTime)
++#if MIN_VERSION_time(1,5,0)
++import Data.Time (defaultTimeLocale)
++#else
+ import System.Locale (defaultTimeLocale)
++#endif
+ import Data.Foldable as F (concatMap)
+ import Data.List (intercalate, sortBy, nub)
+ import Data.Maybe (fromMaybe)
+--- gitit-0.10.6.2-orig/Network/Gitit/Types.hs 2015-04-03 14:18:02.000000000 +1100
++++ gitit-0.10.6.2/Network/Gitit/Types.hs 2015-04-05 20:17:34.038042036 +1000
+@@ -1,4 +1,4 @@
+-{-# LANGUAGE TypeSynonymInstances, ScopedTypeVariables, FlexibleInstances #-}
++{-# LANGUAGE TypeSynonymInstances, ScopedTypeVariables, FlexibleInstances, CPP #-}
+ {-
+ Copyright (C) 2009 John MacFarlane <jgm@berkeley.edu>,
+ Anton van Straaten <anton@appsolutions.com>
+@@ -72,7 +72,11 @@
+ import Data.Text (Text)
+ import Data.List (intersect)
+ import Data.Time (parseTime)
++#if MIN_VERSION_time(1,5,0)
++import Data.Time (defaultTimeLocale)
++#else
+ import System.Locale (defaultTimeLocale)
++#endif
+ import Data.FileStore.Types
+ import Network.Gitit.Server
+ import Text.HTML.TagSoup.Entity (lookupEntity)
diff --git a/www-apps/gitit/gitit-0.10.3.1-r3.ebuild b/www-apps/gitit/gitit-0.10.3.1-r3.ebuild
new file mode 100644
index 000000000000..cd12d895f072
--- /dev/null
+++ b/www-apps/gitit/gitit-0.10.3.1-r3.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Wiki using happstack, git or darcs, and pandoc"
+HOMEPAGE="http://gitit.net"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+plugins"
+
+RDEPEND=">=app-text/pandoc-1.12:=[profile?] <app-text/pandoc-1.13:=[profile?]
+ >=dev-haskell/base64-bytestring-0.1:=[profile?]
+ <dev-haskell/base64-bytestring-1.1:=[profile?]
+ >=dev-haskell/blaze-html-0.4:=[profile?]
+ <dev-haskell/blaze-html-0.8:=[profile?]
+ dev-haskell/cgi:=[profile?]
+ >=dev-haskell/configfile-1:=[profile?]
+ <dev-haskell/configfile-1.2:=[profile?]
+ >=dev-haskell/feed-0.3.6:=[profile?]
+ <dev-haskell/feed-0.4:=[profile?]
+ =dev-haskell/filestore-0.6*:=[profile?]
+ >=dev-haskell/happstack-server-7.0:=[profile?] <dev-haskell/happstack-server-7.4:=[profile?]
+ >=dev-haskell/highlighting-kate-0.5.0.1:=[profile?]
+ <dev-haskell/highlighting-kate-0.6:=[profile?]
+ >=dev-haskell/hslogger-1:=[profile?]
+ <dev-haskell/hslogger-1.3:=[profile?]
+ >=dev-haskell/hstringtemplate-0.6:=[profile?]
+ <dev-haskell/hstringtemplate-0.8:=[profile?]
+ >=dev-haskell/http-4000.0:=[profile?]
+ <dev-haskell/http-4000.3:=[profile?]
+ >=dev-haskell/json-0.4:=[profile?]
+ <dev-haskell/json-0.8:=[profile?]
+ dev-haskell/mtl:=[profile?]
+ >=dev-haskell/network-2.1.0.0:=[profile?]
+ <dev-haskell/network-2.5:=[profile?]
+ >=dev-haskell/pandoc-types-1.12:=[profile?] <dev-haskell/pandoc-types-1.13:=[profile?]
+ dev-haskell/parsec:=[profile?]
+ dev-haskell/random:=[profile?]
+ >=dev-haskell/recaptcha-0.1:=[profile?]
+ dev-haskell/safe:=[profile?]
+ >dev-haskell/sha-1:=[profile?]
+ <dev-haskell/sha-1.7:=[profile?]
+ dev-haskell/syb:=[profile?]
+ >=dev-haskell/tagsoup-0.13:=[profile?] <dev-haskell/tagsoup-0.14:=[profile?]
+ dev-haskell/text:=[profile?]
+ =dev-haskell/url-2.1*:=[profile?]
+ =dev-haskell/utf8-string-0.3*:=[profile?]
+ dev-haskell/xhtml:=[profile?]
+ >=dev-haskell/xml-1.3.5:=[profile?]
+ =dev-haskell/xss-sanitize-0.3*:=[profile?]
+ =dev-haskell/zlib-0.5*:=[profile?]
+ >=dev-lang/ghc-6.12.1:=
+ plugins? ( dev-haskell/ghc-paths:=[profile?]
+ )"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-pandoc-1.12.patch
+
+ cabal_chdeps \
+ 'happstack-server >= 7.0 && < 7.2' 'happstack-server >= 7.0 && < 7.4' \
+ 'blaze-html >= 0.4 && < 0.7' 'blaze-html >= 0.4 && < 0.8'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag plugins plugins)
+}
diff --git a/www-apps/gitit/gitit-0.10.6.1-r4.ebuild b/www-apps/gitit/gitit-0.10.6.1-r4.ebuild
new file mode 100644
index 000000000000..94b4d46360da
--- /dev/null
+++ b/www-apps/gitit/gitit-0.10.6.1-r4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.4.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Wiki using happstack, git or darcs, and pandoc"
+HOMEPAGE="http://gitit.net"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+network-uri +plugins"
+
+RDEPEND=">=app-text/pandoc-1.12.4:=[profile?] <app-text/pandoc-1.14:=[profile?]
+ >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.9:=[profile?]
+ >=dev-haskell/base64-bytestring-0.1:=[profile?] <dev-haskell/base64-bytestring-1.1:=[profile?]
+ >=dev-haskell/blaze-html-0.4:=[profile?] <dev-haskell/blaze-html-0.8:=[profile?]
+ >=dev-haskell/configfile-1:=[profile?] <dev-haskell/configfile-1.2:=[profile?]
+ >=dev-haskell/feed-0.3.6:=[profile?] <dev-haskell/feed-0.4:=[profile?]
+ >=dev-haskell/filestore-0.6:=[profile?] <dev-haskell/filestore-0.7:=[profile?]
+ >=dev-haskell/happstack-server-7.0:=[profile?]
+ >=dev-haskell/highlighting-kate-0.5.0.1:=[profile?] <dev-haskell/highlighting-kate-0.6:=[profile?]
+ >=dev-haskell/hoauth2-0.4.2:=[profile?] <dev-haskell/hoauth2-0.5:=[profile?]
+ >=dev-haskell/hslogger-1:=[profile?] <dev-haskell/hslogger-1.3:=[profile?]
+ >=dev-haskell/hstringtemplate-0.6:=[profile?] <dev-haskell/hstringtemplate-0.8:=[profile?]
+ >=dev-haskell/http-4000.0:=[profile?] <dev-haskell/http-4000.3:=[profile?]
+ >=dev-haskell/http-client-tls-0.2.2:=[profile?] <dev-haskell/http-client-tls-0.3:=[profile?]
+ >=dev-haskell/http-conduit-2.1.4:=[profile?] <dev-haskell/http-conduit-2.2:=[profile?]
+ >=dev-haskell/json-0.4:=[profile?]
+ dev-haskell/mtl:=[profile?]
+ >=dev-haskell/pandoc-types-1.12.3:=[profile?] <dev-haskell/pandoc-types-1.13:=[profile?]
+ dev-haskell/parsec:=[profile?]
+ dev-haskell/random:=[profile?]
+ >=dev-haskell/recaptcha-0.1:=[profile?]
+ dev-haskell/safe:=[profile?]
+ >dev-haskell/sha-1:=[profile?] <dev-haskell/sha-1.7:=[profile?]
+ dev-haskell/split:=[profile?]
+ dev-haskell/syb:=[profile?]
+ >=dev-haskell/tagsoup-0.13:=[profile?] <dev-haskell/tagsoup-0.14:=[profile?]
+ dev-haskell/text:=[profile?]
+ >=dev-haskell/uri-0.1:=[profile?] <dev-haskell/uri-0.2:=[profile?]
+ >=dev-haskell/url-2.1:=[profile?] <dev-haskell/url-2.2:=[profile?]
+ >=dev-haskell/utf8-string-0.3:=[profile?]
+ >=dev-haskell/uuid-1.3:=[profile?] <dev-haskell/uuid-1.4:=[profile?]
+ dev-haskell/xhtml:=[profile?]
+ >=dev-haskell/xml-1.3.5:=[profile?]
+ >=dev-haskell/xss-sanitize-0.3:=[profile?] <dev-haskell/xss-sanitize-0.4:=[profile?]
+ >=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.6:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?]
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] )
+ !network-uri? ( >=dev-haskell/network-2:=[profile?] <dev-haskell/network-2.6:=[profile?] )
+ plugins? ( dev-haskell/ghc-paths:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+src_prepare() {
+ cabal_chdeps \
+ 'http-conduit >= 2.1.4 && < 2.1.5' 'http-conduit >= 2.1.4 && < 2.2' \
+ 'json >= 0.4 && < 0.8' 'json >= 0.4' \
+ 'happstack-server >= 7.0 && < 7.4' 'happstack-server >= 7.0' \
+ 'utf8-string >= 0.3 && < 0.4' 'utf8-string >= 0.3'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag network-uri network-uri) \
+ $(cabal_flag plugins plugins)
+}
diff --git a/www-apps/gitit/gitit-0.10.6.2.ebuild b/www-apps/gitit/gitit-0.10.6.2.ebuild
new file mode 100644
index 000000000000..597f01707ab1
--- /dev/null
+++ b/www-apps/gitit/gitit-0.10.6.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit base haskell-cabal
+
+DESCRIPTION="Wiki using happstack, git or darcs, and pandoc"
+HOMEPAGE="http://gitit.net"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+network-uri +plugins"
+
+RDEPEND=">=app-text/pandoc-1.12.4:=[profile?] <app-text/pandoc-1.14:=[profile?]
+ >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.9:=[profile?]
+ >=dev-haskell/base64-bytestring-0.1:=[profile?] <dev-haskell/base64-bytestring-1.1:=[profile?]
+ >=dev-haskell/blaze-html-0.4:=[profile?] <dev-haskell/blaze-html-0.9:=[profile?]
+ >=dev-haskell/configfile-1:=[profile?] <dev-haskell/configfile-1.2:=[profile?]
+ >=dev-haskell/feed-0.3.6:=[profile?] <dev-haskell/feed-0.4:=[profile?]
+ >=dev-haskell/filestore-0.6:=[profile?] <dev-haskell/filestore-0.7:=[profile?]
+ >=dev-haskell/happstack-server-7.0:=[profile?] <dev-haskell/happstack-server-7.5:=[profile?]
+ >=dev-haskell/highlighting-kate-0.5.0.1:=[profile?] <dev-haskell/highlighting-kate-0.6:=[profile?]
+ >=dev-haskell/hoauth2-0.4.2:=[profile?] <dev-haskell/hoauth2-0.5:=[profile?]
+ >=dev-haskell/hslogger-1:=[profile?] <dev-haskell/hslogger-1.3:=[profile?]
+ >=dev-haskell/hstringtemplate-0.6:=[profile?] <dev-haskell/hstringtemplate-0.9:=[profile?]
+ >=dev-haskell/http-4000.0:=[profile?] <dev-haskell/http-4000.3:=[profile?]
+ >=dev-haskell/http-client-tls-0.2.2:=[profile?] <dev-haskell/http-client-tls-0.3:=[profile?]
+ >=dev-haskell/http-conduit-2.1.4:=[profile?] <dev-haskell/http-conduit-2.2:=[profile?]
+ >=dev-haskell/json-0.4:=[profile?] <dev-haskell/json-0.10:=[profile?]
+ dev-haskell/mtl:=[profile?]
+ >=dev-haskell/old-locale-1:=[profile?]
+ dev-haskell/old-time:=[profile?]
+ >=dev-haskell/pandoc-types-1.12.3:=[profile?] <dev-haskell/pandoc-types-1.13:=[profile?]
+ dev-haskell/parsec:=[profile?]
+ dev-haskell/random:=[profile?]
+ >=dev-haskell/recaptcha-0.1:=[profile?]
+ dev-haskell/safe:=[profile?]
+ >dev-haskell/sha-1:=[profile?] <dev-haskell/sha-1.7:=[profile?]
+ dev-haskell/split:=[profile?]
+ dev-haskell/syb:=[profile?]
+ >=dev-haskell/tagsoup-0.13:=[profile?] <dev-haskell/tagsoup-0.14:=[profile?]
+ dev-haskell/text:=[profile?]
+ >=dev-haskell/uri-0.1:=[profile?] <dev-haskell/uri-0.2:=[profile?]
+ >=dev-haskell/url-2.1:=[profile?] <dev-haskell/url-2.2:=[profile?]
+ >=dev-haskell/utf8-string-0.3:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
+ >=dev-haskell/uuid-1.3:=[profile?] <dev-haskell/uuid-1.4:=[profile?]
+ dev-haskell/xhtml:=[profile?]
+ >=dev-haskell/xml-1.3.5:=[profile?]
+ >=dev-haskell/xss-sanitize-0.3:=[profile?] <dev-haskell/xss-sanitize-0.4:=[profile?]
+ >=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.6:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?]
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] )
+ !network-uri? ( >=dev-haskell/network-2:=[profile?] <dev-haskell/network-2.6:=[profile?] )
+ plugins? ( dev-haskell/ghc-paths:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+PATCHES=("${FILESDIR}/${PN}-0.10.6.2-ghc-7.10.patch")
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag network-uri network-uri) \
+ $(cabal_flag plugins plugins)
+}
diff --git a/www-apps/gitit/gitit-0.11.1.ebuild b/www-apps/gitit/gitit-0.11.1.ebuild
new file mode 100644
index 000000000000..bc3b205bdec9
--- /dev/null
+++ b/www-apps/gitit/gitit-0.11.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Wiki using happstack, git or darcs, and pandoc"
+HOMEPAGE="http://gitit.net"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+network-uri +plugins"
+
+RDEPEND=">=app-text/pandoc-1.12.4:=[profile?] <app-text/pandoc-1.16:=[profile?]
+ >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.10:=[profile?]
+ >=dev-haskell/base64-bytestring-0.1:=[profile?] <dev-haskell/base64-bytestring-1.1:=[profile?]
+ >=dev-haskell/blaze-html-0.4:=[profile?] <dev-haskell/blaze-html-0.9:=[profile?]
+ >=dev-haskell/configfile-1:=[profile?] <dev-haskell/configfile-1.2:=[profile?]
+ >=dev-haskell/feed-0.3.6:=[profile?] <dev-haskell/feed-0.4:=[profile?]
+ >=dev-haskell/filestore-0.6:=[profile?] <dev-haskell/filestore-0.7:=[profile?]
+ >=dev-haskell/happstack-server-7.0:=[profile?] <dev-haskell/happstack-server-7.5:=[profile?]
+ >=dev-haskell/highlighting-kate-0.5.0.1:=[profile?] <dev-haskell/highlighting-kate-0.7:=[profile?]
+ >=dev-haskell/hoauth2-0.4.2:=[profile?] <dev-haskell/hoauth2-0.5:=[profile?]
+ >=dev-haskell/hslogger-1:=[profile?] <dev-haskell/hslogger-1.3:=[profile?]
+ >=dev-haskell/hstringtemplate-0.6:=[profile?] <dev-haskell/hstringtemplate-0.9:=[profile?]
+ >=dev-haskell/http-4000.0:=[profile?] <dev-haskell/http-4000.3:=[profile?]
+ >=dev-haskell/http-client-tls-0.2.2:=[profile?] <dev-haskell/http-client-tls-0.3:=[profile?]
+ >=dev-haskell/http-conduit-2.1.4:=[profile?] <dev-haskell/http-conduit-2.2:=[profile?]
+ >=dev-haskell/json-0.4:=[profile?] <dev-haskell/json-0.10:=[profile?]
+ dev-haskell/mtl:=[profile?]
+ >=dev-haskell/old-locale-1:=[profile?]
+ dev-haskell/old-time:=[profile?]
+ >=dev-haskell/pandoc-types-1.12.3:=[profile?] <dev-haskell/pandoc-types-1.13:=[profile?]
+ dev-haskell/parsec:=[profile?]
+ dev-haskell/random:=[profile?]
+ >=dev-haskell/recaptcha-0.1:=[profile?]
+ dev-haskell/safe:=[profile?]
+ >dev-haskell/sha-1:=[profile?] <dev-haskell/sha-1.7:=[profile?]
+ dev-haskell/split:=[profile?]
+ dev-haskell/syb:=[profile?]
+ >=dev-haskell/tagsoup-0.13:=[profile?] <dev-haskell/tagsoup-0.14:=[profile?]
+ dev-haskell/text:=[profile?]
+ >=dev-haskell/uri-0.1:=[profile?] <dev-haskell/uri-0.2:=[profile?]
+ >=dev-haskell/url-2.1:=[profile?] <dev-haskell/url-2.2:=[profile?]
+ >=dev-haskell/utf8-string-0.3:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
+ >=dev-haskell/uuid-1.3:=[profile?] <dev-haskell/uuid-1.4:=[profile?]
+ dev-haskell/xhtml:=[profile?]
+ >=dev-haskell/xml-1.3.5:=[profile?]
+ >=dev-haskell/xss-sanitize-0.3:=[profile?] <dev-haskell/xss-sanitize-0.4:=[profile?]
+ >=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.7:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?]
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] )
+ !network-uri? ( >=dev-haskell/network-2:=[profile?] <dev-haskell/network-2.6:=[profile?] )
+ plugins? ( dev-haskell/ghc-paths:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag network-uri network-uri) \
+ $(cabal_flag plugins plugins)
+}
diff --git a/www-apps/gitit/gitit-0.11.ebuild b/www-apps/gitit/gitit-0.11.ebuild
new file mode 100644
index 000000000000..bc3b205bdec9
--- /dev/null
+++ b/www-apps/gitit/gitit-0.11.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+# ebuild generated by hackport 0.4.5.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+DESCRIPTION="Wiki using happstack, git or darcs, and pandoc"
+HOMEPAGE="http://gitit.net"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+network-uri +plugins"
+
+RDEPEND=">=app-text/pandoc-1.12.4:=[profile?] <app-text/pandoc-1.16:=[profile?]
+ >=dev-haskell/aeson-0.7:=[profile?] <dev-haskell/aeson-0.10:=[profile?]
+ >=dev-haskell/base64-bytestring-0.1:=[profile?] <dev-haskell/base64-bytestring-1.1:=[profile?]
+ >=dev-haskell/blaze-html-0.4:=[profile?] <dev-haskell/blaze-html-0.9:=[profile?]
+ >=dev-haskell/configfile-1:=[profile?] <dev-haskell/configfile-1.2:=[profile?]
+ >=dev-haskell/feed-0.3.6:=[profile?] <dev-haskell/feed-0.4:=[profile?]
+ >=dev-haskell/filestore-0.6:=[profile?] <dev-haskell/filestore-0.7:=[profile?]
+ >=dev-haskell/happstack-server-7.0:=[profile?] <dev-haskell/happstack-server-7.5:=[profile?]
+ >=dev-haskell/highlighting-kate-0.5.0.1:=[profile?] <dev-haskell/highlighting-kate-0.7:=[profile?]
+ >=dev-haskell/hoauth2-0.4.2:=[profile?] <dev-haskell/hoauth2-0.5:=[profile?]
+ >=dev-haskell/hslogger-1:=[profile?] <dev-haskell/hslogger-1.3:=[profile?]
+ >=dev-haskell/hstringtemplate-0.6:=[profile?] <dev-haskell/hstringtemplate-0.9:=[profile?]
+ >=dev-haskell/http-4000.0:=[profile?] <dev-haskell/http-4000.3:=[profile?]
+ >=dev-haskell/http-client-tls-0.2.2:=[profile?] <dev-haskell/http-client-tls-0.3:=[profile?]
+ >=dev-haskell/http-conduit-2.1.4:=[profile?] <dev-haskell/http-conduit-2.2:=[profile?]
+ >=dev-haskell/json-0.4:=[profile?] <dev-haskell/json-0.10:=[profile?]
+ dev-haskell/mtl:=[profile?]
+ >=dev-haskell/old-locale-1:=[profile?]
+ dev-haskell/old-time:=[profile?]
+ >=dev-haskell/pandoc-types-1.12.3:=[profile?] <dev-haskell/pandoc-types-1.13:=[profile?]
+ dev-haskell/parsec:=[profile?]
+ dev-haskell/random:=[profile?]
+ >=dev-haskell/recaptcha-0.1:=[profile?]
+ dev-haskell/safe:=[profile?]
+ >dev-haskell/sha-1:=[profile?] <dev-haskell/sha-1.7:=[profile?]
+ dev-haskell/split:=[profile?]
+ dev-haskell/syb:=[profile?]
+ >=dev-haskell/tagsoup-0.13:=[profile?] <dev-haskell/tagsoup-0.14:=[profile?]
+ dev-haskell/text:=[profile?]
+ >=dev-haskell/uri-0.1:=[profile?] <dev-haskell/uri-0.2:=[profile?]
+ >=dev-haskell/url-2.1:=[profile?] <dev-haskell/url-2.2:=[profile?]
+ >=dev-haskell/utf8-string-0.3:=[profile?] <dev-haskell/utf8-string-1.1:=[profile?]
+ >=dev-haskell/uuid-1.3:=[profile?] <dev-haskell/uuid-1.4:=[profile?]
+ dev-haskell/xhtml:=[profile?]
+ >=dev-haskell/xml-1.3.5:=[profile?]
+ >=dev-haskell/xss-sanitize-0.3:=[profile?] <dev-haskell/xss-sanitize-0.4:=[profile?]
+ >=dev-haskell/zlib-0.5:=[profile?] <dev-haskell/zlib-0.7:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+ network-uri? ( >=dev-haskell/network-2.6:=[profile?]
+ >=dev-haskell/network-uri-2.6:=[profile?] <dev-haskell/network-uri-2.7:=[profile?] )
+ !network-uri? ( >=dev-haskell/network-2:=[profile?] <dev-haskell/network-2.6:=[profile?] )
+ plugins? ( dev-haskell/ghc-paths:=[profile?] )
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.6
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag network-uri network-uri) \
+ $(cabal_flag plugins plugins)
+}
diff --git a/www-apps/gitit/metadata.xml b/www-apps/gitit/metadata.xml
new file mode 100644
index 000000000000..acf3c3ee2a46
--- /dev/null
+++ b/www-apps/gitit/metadata.xml
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>haskell</herd>
+ <maintainer>
+ <email>haskell@gentoo.org</email>
+ </maintainer>
+ <longdescription>
+ Gitit is a wiki backed by a git, darcs, or mercurial
+ filestore. Pages and uploaded files can be modified either
+ directly via the VCS&#39;s command-line tools or through
+ the wiki&#39;s web interface. Pandoc is used for markup
+ processing, so pages may be written in
+ (extended) markdown, reStructuredText, LaTeX, HTML,
+ or literate Haskell, and exported in ten different
+ formats, including LaTeX, ConTeXt, DocBook, RTF,
+ OpenOffice ODT, and MediaWiki markup.
+
+ Notable features include
+
+ * plugins: dynamically loaded page
+ transformations written in Haskell (see
+ &quot;Network.Gitit.Interface&quot;)
+
+ * conversion of TeX math to MathML for display in
+ web browsers
+
+ * syntax highlighting of source code
+ files and code snippets
+
+ * Atom feeds (site-wide and per-page)
+
+ * a library, &quot;Network.Gitit&quot;, that makes it simple
+ to include a gitit wiki in any happstack application
+
+ You can see a running demo at &lt;http://gitit.net&gt;.
+
+ For usage information: @gitit --help@
+ </longdescription>
+ <use>
+ <flag name='network-uri'>Get Network.URI from the network-uri package.</flag>
+ <flag name="plugins">enables optional plugin runtime loader</flag>
+ </use>
+</pkgmetadata>
diff --git a/www-apps/gnopaste/Manifest b/www-apps/gnopaste/Manifest
new file mode 100644
index 000000000000..66f3400114e5
--- /dev/null
+++ b/www-apps/gnopaste/Manifest
@@ -0,0 +1 @@
+DIST gnopaste-0.5.5.tgz 162271 SHA256 e11fc5eb0898f84c1f0b74956d09dd57b747bfd71334c8ac2774d0207308a1a0
diff --git a/www-apps/gnopaste/files/postinstall-en-0.5.5.txt b/www-apps/gnopaste/files/postinstall-en-0.5.5.txt
new file mode 100644
index 000000000000..2e9d4585cfd4
--- /dev/null
+++ b/www-apps/gnopaste/files/postinstall-en-0.5.5.txt
@@ -0,0 +1,4 @@
+Start your favorite browser and follow the install
+instructions on the installer under the followinging url:
+
+http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install.php
diff --git a/www-apps/gnopaste/gnopaste-0.5.5.ebuild b/www-apps/gnopaste/gnopaste-0.5.5.ebuild
new file mode 100644
index 000000000000..c1b30dca7262
--- /dev/null
+++ b/www-apps/gnopaste/gnopaste-0.5.5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit webapp eutils
+
+DESCRIPTION="gnopaste is a nopaste script based on PHP with MySQL"
+HOMEPAGE="http://gnopaste.sf.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+RDEPEND="virtual/httpd-php
+ dev-lang/php[mysql]"
+
+need_httpd_cgi
+
+src_prepare() {
+ esvn_clean
+}
+
+src_install() {
+ webapp_src_preinst
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php
+
+ webapp_serverowned "${MY_HTDOCSDIR}"/config.php
+ webapp_serverowned "${MY_HTDOCSDIR}"/install.php
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-${PV}.txt
+
+ webapp_src_install
+}
diff --git a/www-apps/gnopaste/metadata.xml b/www-apps/gnopaste/metadata.xml
new file mode 100644
index 000000000000..5f4a90172f2d
--- /dev/null
+++ b/www-apps/gnopaste/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <upstream>
+ <remote-id type="sourceforge">gnopaste</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/groupoffice/Manifest b/www-apps/groupoffice/Manifest
new file mode 100644
index 000000000000..d68b8a5b6223
--- /dev/null
+++ b/www-apps/groupoffice/Manifest
@@ -0,0 +1,5 @@
+DIST groupoffice-com-3.7.52.tar.gz 12259892 SHA256 af07123e16e9ebeafa4aeeaa7ae3c6dd45bc333ae1588a6c540c5973bb8f64d6 SHA512 f989392398d2756baf5222b0fb29add094385ea217f3065059c5eac71a82a594f820997968c07f842675d827bfcc12e3151488f57d52d4a706702f5db282d5fb WHIRLPOOL 87f5aa0a353ee7ed1ffb9576c48652885ccfa71f143310b30ad88190459ea5d777368b5c642a42f01c25516f8be8aa52f82b8a55d5749bea675cbd9819c778d8
+DIST groupoffice-com-4.0.144.tar.gz 13937659 SHA256 82e09433ab504ab84ba28743006c7e5bcbd2be7ef26f9bf6248127e7bd7a9cc3 SHA512 a7d590eee6782ac44f9fff72e46fa646dac6e59a6c78fd551541fb539398435a4a8fc4f6068e6ead254af00d7bbe78ea8bcd0c3d0ec5ea05a9110bd1e938b27f WHIRLPOOL 4a1fca56b6fbac6e558b39cce74ffc34de87a8a7382f6b3c28ea4fa11cee99e126e285ff527a7096527f136db24302e933fdc228578e4b5efb39ca0a9d26f58a
+DIST groupoffice-com-4.0.47.tar.gz 12354456 SHA256 0a84236d4d2f91d96c5a771a8add945404f3a7eef092dcaac9c2cc013dc6caac SHA512 bf354e8dac5af632da6e1b3d3b4bb6010f097329540a05e55287faf775c69a8078d0742a9d4cfc30bc838e6a23bcbe694b0e75d355a018d187f8617f60ff2236 WHIRLPOOL 84ea40ce408a1e829ecaebafb4008b2e11bac62e06a63103290271e970e75fcf9b6eab8b8f6c4ebfa292f92a819ef1a96bf55fd4c082d88dd76c5dc91c4ab406
+DIST groupoffice-com-4.0.97.tar.gz 13831704 SHA256 ab829824bc3f71b5dec903e1749facb9d481868ad994124107bbba8cf958b40e SHA512 0913f14ffbc4be17ac3e62e5e0a37aebddbd54d7f6dcfbead42122bb3c26e25fb32f5de13e0bd5161ee1063ab826fc7cdf427f15cf1881692a46ef81deb595fa WHIRLPOOL 8c007d49e2c0fd4913b86fdc5851528854459577a8843b9d86dc0ad2f6e2419e04401355e1ea3073255d81363e06dbb8bdd15387bb0ae0582beeab5b08798e44
+DIST groupoffice-com-4.1.7.tar.gz 14894191 SHA256 7fdd35989399614e43bd8117d2da7305f267b231a2c9580537ea2bf09a323a20 SHA512 9863eddffd06d058336ee8bcb67efd873a6dfb4fd4ad7c41ac2f7cdef95be17cd92661ee683a7c79fce4eff002acabba50d60af86ed02310d7d7d61aa589ed8c WHIRLPOOL d7519b48c422cb32c6fe4f10449beda7f043ac37fb9e321c73f656fdb8d5ea5eac66d02265ec5e40139b4169dcb3dcc1473a9094e933cd15d2f0985af3298e4c
diff --git a/www-apps/groupoffice/files/postinstall2-en.txt b/www-apps/groupoffice/files/postinstall2-en.txt
new file mode 100644
index 000000000000..2ed6251afc8b
--- /dev/null
+++ b/www-apps/groupoffice/files/postinstall2-en.txt
@@ -0,0 +1,19 @@
+Now browse to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
+to complete the install.
+
+Note: User data are stored in ${VHOST_ROOT}/groupoffice-<VERSION>/userdata
+Local data are stored in ${MY_INSTALLDIR}/local
+
+When you are done with the installation,
+rm -Rf ${MY_INSTALLDIR}/install/
+or use an .htaccess file to secure the installation directory.
+
+--------------------------------------------------------------
+ADDITIONAL FUNCTIONALITY:
+
+net-mail/tnef: Install this package to decode winmail.dat
+ attachments in the email component.
+
+dev-libs/libwbxml: Install this package if you use the
+ professional groupoffice version including
+ SyncML support
diff --git a/www-apps/groupoffice/groupoffice-3.7.52.ebuild b/www-apps/groupoffice/groupoffice-3.7.52.ebuild
new file mode 100644
index 000000000000..f686b4d84eff
--- /dev/null
+++ b/www-apps/groupoffice/groupoffice-3.7.52.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit webapp
+
+MY_P="${PN}-com-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Group-Office is a powerful modular Intranet application framework"
+HOMEPAGE="http://group-office.sourceforge.net/"
+SRC_URI="mirror://sourceforge/group-office/${MY_P}.tar.gz"
+
+LICENSE="AGPL-3"
+KEYWORDS="amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="app-arch/zip
+ app-arch/unzip
+ virtual/httpd-cgi
+ dev-lang/php[calendar,cli,curl,gd,imap,mysqli,zlib]"
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="CHANGELOG.TXT FAQ.TXT INSTALL.TXT"
+
+ dodoc ${docs} RELEASE.TXT LICENSE.TXT
+
+ cp -r . "${D}${MY_HTDOCSDIR}"
+ for doc in ${docs}; do
+ rm -f "${D}${MY_HTDOCSDIR}/${doc}"
+ done
+
+ touch "${D}${MY_HTDOCSDIR}"/config.php
+ dodir "${MY_HOSTROOTDIR}/${P}"/userdata "${MY_HTDOCSDIR}"/local
+
+ webapp_serverowned "${MY_HTDOCSDIR}"
+ webapp_serverowned -R "${MY_HOSTROOTDIR}/${P}"/userdata
+ webapp_serverowned "${MY_HTDOCSDIR}"/local
+ webapp_serverowned "${MY_HTDOCSDIR}"/config.php
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall2-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/groupoffice/groupoffice-4.0.144.ebuild b/www-apps/groupoffice/groupoffice-4.0.144.ebuild
new file mode 100644
index 000000000000..d40cd15fc786
--- /dev/null
+++ b/www-apps/groupoffice/groupoffice-4.0.144.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit webapp
+
+MY_P="${PN}-com-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Group-Office is a powerful modular Intranet application framework"
+HOMEPAGE="http://group-office.sourceforge.net/"
+SRC_URI="mirror://sourceforge/group-office/${MY_P}.tar.gz"
+
+LICENSE="AGPL-3"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="app-arch/zip
+ app-arch/unzip
+ virtual/httpd-cgi
+ dev-lang/php[calendar,cli,curl,gd,imap,mysqli,zlib]"
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="CHANGELOG.TXT FAQ.TXT INSTALL.TXT"
+
+ dodoc ${docs} RELEASE.TXT LICENSE.TXT
+
+ cp -r . "${D}${MY_HTDOCSDIR}"
+ for doc in ${docs}; do
+ rm -f "${D}${MY_HTDOCSDIR}/${doc}"
+ done
+
+ touch "${D}${MY_HTDOCSDIR}"/config.php
+ dodir "${MY_HOSTROOTDIR}/${P}"/userdata "${MY_HTDOCSDIR}"/local
+
+ webapp_serverowned "${MY_HTDOCSDIR}"
+ webapp_serverowned -R "${MY_HOSTROOTDIR}/${P}"/userdata
+ webapp_serverowned "${MY_HTDOCSDIR}"/local
+ webapp_serverowned "${MY_HTDOCSDIR}"/config.php
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall2-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/groupoffice/groupoffice-4.0.47.ebuild b/www-apps/groupoffice/groupoffice-4.0.47.ebuild
new file mode 100644
index 000000000000..d40cd15fc786
--- /dev/null
+++ b/www-apps/groupoffice/groupoffice-4.0.47.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit webapp
+
+MY_P="${PN}-com-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Group-Office is a powerful modular Intranet application framework"
+HOMEPAGE="http://group-office.sourceforge.net/"
+SRC_URI="mirror://sourceforge/group-office/${MY_P}.tar.gz"
+
+LICENSE="AGPL-3"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="app-arch/zip
+ app-arch/unzip
+ virtual/httpd-cgi
+ dev-lang/php[calendar,cli,curl,gd,imap,mysqli,zlib]"
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="CHANGELOG.TXT FAQ.TXT INSTALL.TXT"
+
+ dodoc ${docs} RELEASE.TXT LICENSE.TXT
+
+ cp -r . "${D}${MY_HTDOCSDIR}"
+ for doc in ${docs}; do
+ rm -f "${D}${MY_HTDOCSDIR}/${doc}"
+ done
+
+ touch "${D}${MY_HTDOCSDIR}"/config.php
+ dodir "${MY_HOSTROOTDIR}/${P}"/userdata "${MY_HTDOCSDIR}"/local
+
+ webapp_serverowned "${MY_HTDOCSDIR}"
+ webapp_serverowned -R "${MY_HOSTROOTDIR}/${P}"/userdata
+ webapp_serverowned "${MY_HTDOCSDIR}"/local
+ webapp_serverowned "${MY_HTDOCSDIR}"/config.php
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall2-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/groupoffice/groupoffice-4.0.97.ebuild b/www-apps/groupoffice/groupoffice-4.0.97.ebuild
new file mode 100644
index 000000000000..835ad61729fe
--- /dev/null
+++ b/www-apps/groupoffice/groupoffice-4.0.97.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit webapp
+
+MY_P="${PN}-com-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Group-Office is a powerful modular Intranet application framework"
+HOMEPAGE="http://group-office.sourceforge.net/"
+SRC_URI="mirror://sourceforge/group-office/${MY_P}.tar.gz"
+
+LICENSE="AGPL-3"
+KEYWORDS="amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="app-arch/zip
+ app-arch/unzip
+ virtual/httpd-cgi
+ dev-lang/php[calendar,cli,curl,gd,imap,mysqli,zlib]"
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="CHANGELOG.TXT FAQ.TXT INSTALL.TXT"
+
+ dodoc ${docs} RELEASE.TXT LICENSE.TXT
+
+ cp -r . "${D}${MY_HTDOCSDIR}"
+ for doc in ${docs}; do
+ rm -f "${D}${MY_HTDOCSDIR}/${doc}"
+ done
+
+ touch "${D}${MY_HTDOCSDIR}"/config.php
+ dodir "${MY_HOSTROOTDIR}/${P}"/userdata "${MY_HTDOCSDIR}"/local
+
+ webapp_serverowned "${MY_HTDOCSDIR}"
+ webapp_serverowned -R "${MY_HOSTROOTDIR}/${P}"/userdata
+ webapp_serverowned "${MY_HTDOCSDIR}"/local
+ webapp_serverowned "${MY_HTDOCSDIR}"/config.php
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall2-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/groupoffice/groupoffice-4.1.7.ebuild b/www-apps/groupoffice/groupoffice-4.1.7.ebuild
new file mode 100644
index 000000000000..1afd7c2bca06
--- /dev/null
+++ b/www-apps/groupoffice/groupoffice-4.1.7.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit webapp
+
+MY_P="${PN}-com-${PV}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Group-Office is a powerful modular Intranet application framework"
+HOMEPAGE="http://group-office.sourceforge.net/"
+SRC_URI="mirror://sourceforge/group-office/${MY_P}.tar.gz"
+
+LICENSE="AGPL-3"
+KEYWORDS="amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="app-arch/zip
+ app-arch/unzip
+ virtual/httpd-cgi
+ dev-lang/php[calendar,cli,curl,gd,imap,mysqli,zlib]"
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="CHANGELOG.TXT FAQ.TXT INSTALL.TXT"
+
+ dodoc ${docs} RELEASE.TXT LICENSE.TXT
+
+ cp -r . "${D}${MY_HTDOCSDIR}"
+ for doc in ${docs}; do
+ rm -f "${D}${MY_HTDOCSDIR}/${doc}"
+ done
+
+ touch "${D}${MY_HTDOCSDIR}"/config.php
+ dodir "${MY_HOSTROOTDIR}/${P}"/userdata "${MY_HTDOCSDIR}"/local
+
+ webapp_serverowned "${MY_HTDOCSDIR}"
+ webapp_serverowned -R "${MY_HOSTROOTDIR}/${P}"/userdata
+ webapp_serverowned "${MY_HTDOCSDIR}"/local
+ webapp_serverowned "${MY_HTDOCSDIR}"/config.php
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall2-en.txt
+ webapp_src_install
+}
diff --git a/www-apps/groupoffice/metadata.xml b/www-apps/groupoffice/metadata.xml
new file mode 100644
index 000000000000..fa669a99b3e4
--- /dev/null
+++ b/www-apps/groupoffice/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <upstream>
+ <remote-id type="sourceforge">group-office</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/guacamole/Manifest b/www-apps/guacamole/Manifest
new file mode 100644
index 000000000000..4c298cb3bda1
--- /dev/null
+++ b/www-apps/guacamole/Manifest
@@ -0,0 +1,16 @@
+DIST guacamole-auth-jdbc-0.9.7.tar.gz 2997194 SHA256 f112c0ab83e4253f3a914716c5a7e61c4d7dc64d724e7c11bb4b695f386474a5 SHA512 0bfa920fed4b5baabc6f5541d9a5badc0a88c51e95675f00889d9d6f7a2069b07f0bee4ed628b82a4c243dd0a8fb1646a5ba6f822ca5704b1f60b49f3a2fd698 WHIRLPOOL 013ad62f68050b8c431565fa375e6c3c50e2cd1b962b6409c3b79f8652f021f71139de6facf3cd4195b34067ad01fba33bc980bbe4d50d8cc3d7f984555396c9
+DIST guacamole-auth-ldap-0.8.0.tar.gz 382872 SHA256 745e7541ab5db9decb463a7358e17c13cab5843d8458e0bf04f5a8eda8f19064 SHA512 2e775de3757b0e161fd7c6ac19982763bbafec42fef3418cb469cf3cb6bf1783b01486fe28e5a250af7b67107a5c3c73e2ad2b10a4e49b3ca187e76e2b578776 WHIRLPOOL df9a926df2f2a095a816234b6499640149e81acb4b6610d94ff8588e28ae9eaace8c0ca1808d1522aa55531674c53cbc6b5f55f606d7af73918610c9eb095ecf
+DIST guacamole-auth-ldap-0.9.0.tar.gz 382885 SHA256 b9e0440202a4106b6fd0a8cdd9da7bfa476895ce8724edc7d75e80b89bca9780 SHA512 caf228029a4e69ac1ac1f252c761167c1676eadbb362877753710aa28d274f76ed8091102f5a142b871dc7a7e22f98d113c18fa06e46dfbf6ec57c3ea92b435b WHIRLPOOL 3f674c98c6c0bf068426f3c78947f1f09fecc19d55a341b58f9adde8920bc30722077feed7f293d082009991bc08ab8cbddba2569a65e05fcc39b8a91f5f875f
+DIST guacamole-auth-ldap-0.9.2.tar.gz 382892 SHA256 478b0f5a3f9df0de4614b0432707cad443ea9f65ad219cffe904c6a91177250c SHA512 7ff6ed8aeac872aebfe654992208342370f991eabd141ac102ea553cc94b8c69c382344b5c8419745bcdc8f83b77d9b72577c8ddef9e2d000549a5fb1ae70617 WHIRLPOOL 846a673f1d61294b201d95160e2979254537fe80ffbbdc00756ee6202dd9886807a9c1f4b8f60653c528776a5c852cc7382cd14dec624aa10934fbf04e4a4584
+DIST guacamole-auth-ldap-0.9.3.tar.gz 382919 SHA256 0502e3d4e8512fbdd12b144285badfe2cd0b02fa9b0072b0b9772076998c8156 SHA512 e3eebeafd841d304f4c2beb21c1d54327bf0af2201794685c008d1812f05e70c8389888eec1e417c7e08600ebaf6f7f7330cddcf5176c9a12c987ba516155ebe WHIRLPOOL c7d2869d4ede53478cf55be4825dfdae4f47a7c03113e79dbf17afd190c823279f9967c2fefd518de0858484151901e5c3d4592ef3ffcb241c50949d59643068
+DIST guacamole-auth-ldap-0.9.7.tar.gz 384154 SHA256 479307fc54c20f0e4c661e135c0ad7251b3601054adbccdab2b7638cfa9c40bd SHA512 e750a89059a247ac17c7d137f8b7e03f43673a82559b91a39d0d1e69c94bb8212f7a17c335ec69f3c7d892c8ad0aaa746f50dfd247202468fc6c880e9126f1d2 WHIRLPOOL bdce95eb5d8a07de539dd44e55b6b44b746d0d3b12c7caba3c205ae584bdc69a83e5d05b753a650367fb2e172bd42eea0e3a21d3ef61f9e2cb35b8a028ac203c
+DIST guacamole-auth-mysql-0.8.2.tar.gz 2101795 SHA256 26902d50237a5bcb65b5dc9e31e7c51d6318614b97200c58c030a655e57aed82 SHA512 9bc5e7a5750d52a3df288088fa331f9e442cea06abf704df3989e714daba03e20b07ff5c531b4966ccc2f50c49124b9b7819447330d3be9ac5cce79c368663c6 WHIRLPOOL bce4711ca03315feb770cd82f07b4370ea8ff74ca38a952827b36428150ee31c3e6deaf633fd7e256047ccf9e361e80b2d46248e5f2f6c3f896363b2e2badd13
+DIST guacamole-auth-mysql-0.9.0.tar.gz 2104231 SHA256 5419d62a8decae579b54773ed70c8f21b03c11a53c24de982e8f84a79d74423e SHA512 00cc09e75f8c977a2465759b97022007fe34ba9272f9b9004eec404419a68b8c0b301fc385b4f09af07bde82510a6f5b808585c78a61b26cabd98529a5b1c4fa WHIRLPOOL cacb8ee6387b43b0c4fd5c473680404828acc8cbdee219930043ef2f18857ca53b1502e8a650f0cbc6a4a2dfbb42d457991043a4823445e261eb2dc53aad9601
+DIST guacamole-auth-mysql-0.9.2.tar.gz 2104317 SHA256 74567dcb03f2b4bbe059a8270c568ccf54a0a0ed8491de4ed2c3500cde0eabc3 SHA512 4422358b1ced34ca468f130807da6f8d7c65f39a0c3e1c7eecf004803ca62ccccda07b5a7a2b72f4b4e8337ad60783e5514af6318c2cc38f37397ba14cd2f552 WHIRLPOOL cc9583781f53110fd53e4f5dd6e2fc24fdd8a1c160fc674db4694ca3517b20846f43e0bb1a172378982303d03e4be8b2cb3a9e0e5e7c52a4d0f708b4da3766f1
+DIST guacamole-auth-mysql-0.9.3.tar.gz 2104479 SHA256 1cd081758b81b7cc082c383c7c2804434cb90ce609f5d02ed5c48fdcd50d13e6 SHA512 b33e1228b261e3857c385260a15f7b3b6088bdcaf2785f837b9525c5469a7af6560610c8064614b438160d98e349487037d78c11737dbef6a83be6b41bd37e4c WHIRLPOOL 371617fecb15b193cb51a3f76896982365e7d1d4c394021eeaec5281f57ce885517240842ce30f9543b002db71907ae550173b8ba75f19c866f297c3c52985a5
+DIST guacamole-auth-noauth-0.9.7.tar.gz 5810 SHA256 0ff433a73dcbc014cc5c7269f408ef01d02ab0d743f4b45a868b0f98a38d61ba SHA512 1f5e6f0b9e035c75edc556ff47a73e8e6e047369306e00e1281a97ac4896c7563b41dfbd66c89926d972e01a5aee3fdd9c0214d91cb84a83f177a4e3df05d537 WHIRLPOOL 7b75d883f6785bee4470cc3dee70e964c36447c0d1434c785e23b2d5bed8b18b3488c04dc4f8ae04f5a12dd54ba88ac7035acea99cd89e855ff264b1c548a09f
+DIST guacamole-client-0.8.3.tar.gz 345097 SHA256 a2e3d96b9f83308caf35068d657882fff9c3977533bb3b125cda1971422112ce SHA512 395ffbb08b877e4af538b1d0859d8e28e3352f2fe41482e7790c9b3c7597f37882ca032d383c7994d5f2e193404c5c267cdf793d642fb551e04465edfe93d7f0 WHIRLPOOL 19a778b40b7220604a7c5ecd93fa8a7680b7efadf304ffb5b747dad52bbf6dffdeed5a16c26cdd3773b6a0a155b7ba23a76b3233bdd2d658c0dc71a4a86ada80
+DIST guacamole-client-0.9.0.tar.gz 314566 SHA256 2f98776e542fccdeb3a120ae266834e56935a30196d0c3088a8fa523a07f3594 SHA512 33dd583cde9188066f0254fe9a531886be79110ef9f0e62fc60771d2751a927f783eb484e5484760e4ed3bc2aaa1f2000f43f953b78122cbdc2b0f19d8141457 WHIRLPOOL 972ea5c2bfe7f7dc2b1cc42ca6bc49485c18e46b161180e6eddf828467dcce76cae58f89ca0a4e847ab33ebb0ee2ffa87b052c94a9707d8b1538cc3f1ac29c20
+DIST guacamole-client-0.9.2.tar.gz 386263 SHA256 c12f9b1b32621cc44d1e428d71eac5798f85f6b8df23edd3920907678205084c SHA512 e9e73b23b64883c64a1bd0908ecc9e685dc23308c3d44bd2c9c691e43fe383424bfc14816d0248b0f2a693da473a3a780a2d2469024aae53587b67f78d0b0af6 WHIRLPOOL 5a25e9942c9d9067bfad063833f89cc003ad8ba99c1ad1a2fd49d901f3c3616dac974f6abc67a4854129ea5160a7f7194a6b3e72e4741b0ff9a71025f57f229f
+DIST guacamole-client-0.9.3.tar.gz 396313 SHA256 e579ef8f5271c19955429b9d064fd58f7554031c078557c1d65e5d51f695d8d1 SHA512 4ec3ec74b1175ce6b3cde4b9669a3f54f21b45c489c592ea3cabd2af670bf0ec9449f8a368d416640ed7348e77c23ad05243b4fdff083a120f432053642f7727 WHIRLPOOL cb44f374acce366964554cd192440cd4eb71e6b5364bff31a853a7769becce34a608358c204702702220e602cf94732af59ab707b4fb38452cbc78fca541829f
+DIST guacamole-client-0.9.7.tar.gz 1580766 SHA256 905c32cb26844d7fca2a135cc6fcbc5017da7a71df5d4fed01786fe404ab9883 SHA512 eb9d9be14e9a55192c2e341fbd9b07d3cf1b3f4f06dbe97cdb5ca5d624362a895a6369100859716d9cf65562fa251424c9b3a36c2a7d4812bfb2814ab96dc5c3 WHIRLPOOL fbdade073fd2be4ea442d1b604f623a1e0046d744b86447e1eabc42643aae70eec62b596e2e014b294f14377c5823a42a498b75c06ded70346446b4ccc9c72b4
diff --git a/www-apps/guacamole/guacamole-0.8.3.ebuild b/www-apps/guacamole/guacamole-0.8.3.ebuild
new file mode 100644
index 000000000000..2feeff915d3a
--- /dev/null
+++ b/www-apps/guacamole/guacamole-0.8.3.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils
+DESCRIPTION="Guacamole is a html5 vnc client as servlet"
+HOMEPAGE="http://guacamole.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-client-${PV}.tar.gz
+ mysql? ( http://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-mysql-0.8.2.tar.gz )
+ ldap? ( http://sourceforge.net/projects/guacamole/files/current/extensions/guacamole-auth-ldap-0.8.0.tar.gz )"
+S="${WORKDIR}/${PN}-client-${PV}"
+
+LICENSE="AGPL-3"
+
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE="ldap mysql"
+
+DEPEND="dev-java/maven-bin"
+
+RDEPEND="${DEPEND}
+ www-servers/tomcat
+ >virtual/jre-1.6
+ net-misc/guacamole-server
+ mysql? ( virtual/mysql )
+ ldap? ( net-nds/openldap )"
+
+src_compile() {
+ mkdir "${HOME}"/.m2
+ cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
+ sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's:<!-- localRepo::' >"${S}"/settings.xml
+ mvn -s "${S}"/settings.xml package
+}
+
+src_install() {
+ if use mysql; then
+ echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-port: 3306 >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
+ insinto "/var/lib/${PN}/classpath"
+ find "${WORKDIR}/${PN}-auth-mysql-0.8.2/lib/" -name '*.jar' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema"
+ find "${WORKDIR}/${PN}-auth-mysql-0.8.2/schema/" -name '*.sql' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema/upgrade"
+ find "${WORKDIR}/${PN}-auth-mysql-0.8.2/schema/upgrade/" -name '*.sql' -exec doins '{}' +
+ elog "Please add a mysql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
+ elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
+ elog "The default user and it's password is \"guacadmin\"."
+ elog "You will also need to download the mysql-connector from here http://dev.mysql.com/downloads/connector/j/"
+ elog "and put the contained .jar file into /var/lib/guacamole/classpath!"
+ elog "-"
+ fi
+ if use ldap; then
+ echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo auth-provider: net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-port: 389 >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-user-base-dn: ou=people,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-username-attribute: uid >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-config-base-dn: ou=groups,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
+ insinto "/var/lib/${PN}/classpath"
+ find "${WORKDIR}/${PN}-auth-ldap-0.8.0/lib/" -name '*.jar' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema"
+ doins "${WORKDIR}/${PN}-auth-ldap-0.8.0/schema/guacConfigGroup.ldif" "${WORKDIR}/${PN}-auth-ldap-0.8.0/schema/guacConfigGroup.schema"
+ elog "You will need to add and load the .schema file in /usr/share/guacamole/schema/ to your ldap server."
+ elog "There is also an example .lidf file for creating the users."
+ elog "-"
+ fi
+ sed -e 's:/path/to:/etc/guacamole:g' -i "${S}/${PN}/doc/example/${PN}.properties" || die "properties sed failed"
+ insinto /etc/"${PN}"
+ doins "${S}/${PN}/doc/example/guacamole.properties"
+ doins "${S}/${PN}/doc/example/user-mapping.xml"
+ insinto "/var/lib/${PN}"
+ newins "${S}/${PN}/target/${P}.war" "${PN}.war"
+ elog "Please unpack /var/lib/"${PN}"/"${PN}".war in to your servlet container! If it is an update,"
+ elog "delete the old content first!"
+ elog "Read: if you use the command below, delete everything within /var/lib/guacamole/guacamole first!"
+ elog "Please also link /etc/guacamole in to the lib directory of your servlet container."
+ elog "like this:"
+ elog "cd /var/lib/guacamole && mkdir guacamole && cd guacamole && jar -xvf ../guacamole.war && cd .. && mv guacamole /var/lib/tomcat-7/webapps/"
+ elog "ln -sf /etc/guacamole/guacamole.properties /usr/share/tomcat-7/lib/"
+ elog "You will also need to define users and connectrions in /etc/guacamole/user-mapping.xml if mysql is not used!"
+}
diff --git a/www-apps/guacamole/guacamole-0.9.0.ebuild b/www-apps/guacamole/guacamole-0.9.0.ebuild
new file mode 100644
index 000000000000..a28e4b03d810
--- /dev/null
+++ b/www-apps/guacamole/guacamole-0.9.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+DESCRIPTION="Guacamole is a html5 vnc client as servlet"
+HOMEPAGE="http://guacamole.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-client-${PV}.tar.gz
+ mysql? ( http://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-mysql-0.9.0.tar.gz )
+ ldap? ( http://sourceforge.net/projects/guacamole/files/current/extensions/guacamole-auth-ldap-0.9.0.tar.gz )"
+S="${WORKDIR}/${PN}-client-${PV}"
+
+LICENSE="AGPL-3"
+
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE="ldap mysql"
+
+DEPEND="dev-java/maven-bin"
+
+RDEPEND="${DEPEND}
+ www-servers/tomcat
+ >virtual/jre-1.6
+ net-misc/guacamole-server
+ mysql? ( virtual/mysql )
+ ldap? ( net-nds/openldap )"
+
+src_compile() {
+ mkdir "${HOME}"/.m2
+ cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
+ sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's:<!-- localRepo::' >"${S}"/settings.xml
+ mvn -s "${S}"/settings.xml package
+}
+
+src_install() {
+ if use mysql; then
+ echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-port: 3306 >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
+ insinto "/var/lib/${PN}/classpath"
+ find "${WORKDIR}/${PN}-auth-mysql-0.9.0/lib/" -name '*.jar' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema"
+ find "${WORKDIR}/${PN}-auth-mysql-0.9.0/schema/" -name '*.sql' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema/upgrade"
+ find "${WORKDIR}/${PN}-auth-mysql-0.9.0/schema/upgrade/" -name '*.sql' -exec doins '{}' +
+ elog "Please add a mysql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
+ elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
+ elog "The default user and it's password is \"guacadmin\"."
+ elog "You will also need to download the mysql-connector from here http://dev.mysql.com/downloads/connector/j/"
+ elog "and put the contained .jar file into /var/lib/guacamole/classpath!"
+ elog "-"
+ fi
+ if use ldap; then
+ echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo auth-provider: net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-port: 389 >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-user-base-dn: ou=people,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-username-attribute: uid >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-config-base-dn: ou=groups,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
+ insinto "/var/lib/${PN}/classpath"
+ find "${WORKDIR}/${PN}-auth-ldap-0.9.0/lib/" -name '*.jar' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema"
+ doins "${WORKDIR}/${PN}-auth-ldap-0.9.0/schema/guacConfigGroup.ldif" "${WORKDIR}/${PN}-auth-ldap-0.9.0/schema/guacConfigGroup.schema"
+ elog "You will need to add and load the .schema file in /usr/share/guacamole/schema/ to your ldap server."
+ elog "There is also an example .lidf file for creating the users."
+ elog "-"
+ fi
+ sed -e 's:/path/to:/etc/guacamole:g' -i "${S}/${PN}/doc/example/${PN}.properties" || die "properties sed failed"
+ insinto /etc/"${PN}"
+ doins "${S}/${PN}/doc/example/guacamole.properties"
+ doins "${S}/${PN}/doc/example/user-mapping.xml"
+ insinto "/var/lib/${PN}"
+ newins "${S}/${PN}/target/${P}.war" "${PN}.war"
+ elog "Please unpack /var/lib/"${PN}"/"${PN}".war in to your servlet container! If it is an update,"
+ elog "delete the old content first!"
+ elog "Read: if you use the command below, delete everything within /var/lib/guacamole/guacamole first!"
+ elog "Please also link /etc/guacamole in to the lib directory of your servlet container."
+ elog "like this:"
+ elog "cd /var/lib/guacamole && mkdir guacamole && cd guacamole && jar -xvf ../guacamole.war && cd .. && mv guacamole /var/lib/tomcat-7/webapps/"
+ elog "ln -sf /etc/guacamole/guacamole.properties /usr/share/tomcat-7/lib/"
+ elog "You will also need to define users and connections in /etc/guacamole/user-mapping.xml if mysql is not used!"
+}
diff --git a/www-apps/guacamole/guacamole-0.9.2.ebuild b/www-apps/guacamole/guacamole-0.9.2.ebuild
new file mode 100644
index 000000000000..202b6ff02a08
--- /dev/null
+++ b/www-apps/guacamole/guacamole-0.9.2.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+DESCRIPTION="Guacamole is a html5 vnc client as servlet"
+HOMEPAGE="http://guac-dev.org/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-client-${PV}.tar.gz
+ mysql? ( http://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-mysql-0.9.2.tar.gz )
+ ldap? ( http://sourceforge.net/projects/guacamole/files/current/extensions/guacamole-auth-ldap-0.9.2.tar.gz )"
+S="${WORKDIR}/${PN}-client-${PV}"
+
+LICENSE="AGPL-3"
+
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE="ldap mysql"
+
+DEPEND="dev-java/maven-bin"
+
+RDEPEND="${DEPEND}
+ www-servers/tomcat
+ >virtual/jre-1.6
+ net-misc/guacamole-server
+ mysql? ( virtual/mysql )
+ ldap? ( net-nds/openldap )"
+
+src_compile() {
+ mkdir "${HOME}"/.m2
+ cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
+ sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's:<!-- localRepo::' >"${S}"/settings.xml
+ mvn -s "${S}"/settings.xml package
+}
+
+src_install() {
+ if use mysql; then
+ echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-port: 3306 >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
+ insinto "/var/lib/${PN}/classpath"
+ find "${WORKDIR}/${PN}-auth-mysql-0.9.2/lib/" -name '*.jar' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema"
+ find "${WORKDIR}/${PN}-auth-mysql-0.9.2/schema/" -name '*.sql' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema/upgrade"
+ find "${WORKDIR}/${PN}-auth-mysql-0.9.2/schema/upgrade/" -name '*.sql' -exec doins '{}' +
+ elog "Please add a mysql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
+ elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
+ elog "The default user and it's password is \"guacadmin\"."
+ elog "You will also need to download the mysql-connector from here http://dev.mysql.com/downloads/connector/j/"
+ elog "and put the contained .jar file into /var/lib/guacamole/classpath!"
+ elog "-"
+ fi
+ if use ldap; then
+ echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo auth-provider: net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-port: 389 >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-user-base-dn: ou=people,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-username-attribute: uid >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-config-base-dn: ou=groups,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
+ insinto "/var/lib/${PN}/classpath"
+ find "${WORKDIR}/${PN}-auth-ldap-0.9.2/lib/" -name '*.jar' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema"
+ doins "${WORKDIR}/${PN}-auth-ldap-0.9.2/schema/guacConfigGroup.ldif" "${WORKDIR}/${PN}-auth-ldap-0.9.2/schema/guacConfigGroup.schema"
+ elog "You will need to add and load the .schema file in /usr/share/guacamole/schema/ to your ldap server."
+ elog "There is also an example .lidf file for creating the users."
+ elog "-"
+ fi
+ sed -e 's:/path/to:/etc/guacamole:g' -i "${S}/${PN}/doc/example/${PN}.properties" || die "properties sed failed"
+ insinto /etc/"${PN}"
+ doins "${S}/${PN}/doc/example/guacamole.properties"
+ doins "${S}/${PN}/doc/example/user-mapping.xml"
+ insinto "/var/lib/${PN}"
+ newins "${S}/${PN}/target/${P}.war" "${PN}.war"
+ elog "Please unpack /var/lib/"${PN}"/"${PN}".war in to your servlet container! If it is an update,"
+ elog "delete the old content first!"
+ elog "Read: if you use the command below, delete everything within /var/lib/guacamole/guacamole first!"
+ elog "Please also link /etc/guacamole in to the lib directory of your servlet container."
+ elog "like this:"
+ elog "cd /var/lib/guacamole && mkdir guacamole && cd guacamole && jar -xvf ../guacamole.war && cd .. && mv guacamole /var/lib/tomcat-7/webapps/"
+ elog "ln -sf /etc/guacamole/guacamole.properties /usr/share/tomcat-7/lib/"
+ elog "You will also need to define users and connections in /etc/guacamole/user-mapping.xml if mysql or ldap is not used!"
+}
diff --git a/www-apps/guacamole/guacamole-0.9.3.ebuild b/www-apps/guacamole/guacamole-0.9.3.ebuild
new file mode 100644
index 000000000000..2924c3ff8793
--- /dev/null
+++ b/www-apps/guacamole/guacamole-0.9.3.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+DESCRIPTION="Guacamole is a html5 vnc client as servlet"
+HOMEPAGE="http://guac-dev.org/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-client-${PV}.tar.gz
+ mysql? ( http://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-mysql-0.9.3.tar.gz )
+ ldap? ( http://sourceforge.net/projects/guacamole/files/current/extensions/guacamole-auth-ldap-0.9.3.tar.gz )"
+S="${WORKDIR}/${PN}-client-${PV}"
+
+LICENSE="AGPL-3"
+
+SLOT="0"
+
+KEYWORDS="~x86"
+
+IUSE="ldap mysql"
+
+DEPEND="dev-java/maven-bin"
+
+RDEPEND="${DEPEND}
+ www-servers/tomcat
+ >virtual/jre-1.6
+ net-misc/guacamole-server
+ mysql? ( virtual/mysql )
+ ldap? ( net-nds/openldap )"
+
+src_compile() {
+ mkdir "${HOME}"/.m2
+ cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
+ sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's:<!-- localRepo::' >"${S}"/settings.xml
+ mvn -s "${S}"/settings.xml package
+}
+
+src_install() {
+ if use mysql; then
+ echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-port: 3306 >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
+ insinto "/var/lib/${PN}/classpath"
+ find "${WORKDIR}/${PN}-auth-mysql-0.9.3/lib/" -name '*.jar' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema"
+ find "${WORKDIR}/${PN}-auth-mysql-0.9.3/schema/" -name '*.sql' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema/upgrade"
+ find "${WORKDIR}/${PN}-auth-mysql-0.9.3/schema/upgrade/" -name '*.sql' -exec doins '{}' +
+ elog "Please add a mysql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
+ elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
+ elog "The default user and it's password is \"guacadmin\"."
+ elog "You will also need to download the mysql-connector from here http://dev.mysql.com/downloads/connector/j/"
+ elog "and put the contained .jar file into /var/lib/guacamole/classpath!"
+ elog "-"
+ fi
+ if use ldap; then
+ echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo auth-provider: net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-port: 389 >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-user-base-dn: ou=people,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-username-attribute: uid >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-config-base-dn: ou=groups,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
+ insinto "/var/lib/${PN}/classpath"
+ find "${WORKDIR}/${PN}-auth-ldap-0.9.3/lib/" -name '*.jar' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema"
+ doins "${WORKDIR}/${PN}-auth-ldap-0.9.3/schema/guacConfigGroup.ldif" "${WORKDIR}/${PN}-auth-ldap-0.9.3/schema/guacConfigGroup.schema"
+ elog "You will need to add and load the .schema file in /usr/share/guacamole/schema/ to your ldap server."
+ elog "There is also an example .lidf file for creating the users."
+ elog "-"
+ fi
+ sed -e 's:/path/to:/etc/guacamole:g' -i "${S}/${PN}/doc/example/${PN}.properties" || die "properties sed failed"
+ insinto /etc/"${PN}"
+ doins "${S}/${PN}/doc/example/guacamole.properties"
+ doins "${S}/${PN}/doc/example/user-mapping.xml"
+ insinto "/var/lib/${PN}"
+ newins "${S}/${PN}/target/${P}.war" "${PN}.war"
+ elog "Please unpack /var/lib/"${PN}"/"${PN}".war in to your servlet container! If it is an update,"
+ elog "delete the old content first!"
+ elog "Read: if you use the command below, delete everything within /var/lib/guacamole/guacamole first!"
+ elog "Please also link /etc/guacamole in to the lib directory of your servlet container."
+ elog "like this:"
+ elog "cd /var/lib/guacamole && mkdir guacamole && cd guacamole && jar -xvf ../guacamole.war && cd .. && mv guacamole /var/lib/tomcat-7/webapps/"
+ elog "ln -sf /etc/guacamole/guacamole.properties /usr/share/tomcat-7/lib/"
+ elog "You will also need to define users and connections in /etc/guacamole/user-mapping.xml if mysql or ldap is not used!"
+}
diff --git a/www-apps/guacamole/guacamole-0.9.7.ebuild b/www-apps/guacamole/guacamole-0.9.7.ebuild
new file mode 100644
index 000000000000..e7cffd71c0d0
--- /dev/null
+++ b/www-apps/guacamole/guacamole-0.9.7.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils
+DESCRIPTION="Guacamole is a html5 vnc client as servlet"
+HOMEPAGE="http://guac-dev.org/"
+SRC_URI="mirror://sourceforge/${PN}/${PN}-client-${PV}.tar.gz
+ mysql? ( http://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-jdbc-${PV}.tar.gz )
+ postgres? ( http://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-jdbc-${PV}.tar.gz )
+ noauth? ( http://sourceforge.net/projects/${PN}/files/current/extensions/${PN}-auth-noauth-${PV}.tar.gz )
+ ldap? ( http://sourceforge.net/projects/guacamole/files/current/extensions/${PN}-auth-ldap-${PV}.tar.gz )"
+S="${WORKDIR}/${PN}-client-${PV}"
+
+LICENSE="MIT"
+
+SLOT="0"
+
+KEYWORDS="~x86 ~amd64"
+
+IUSE="ldap mysql postgres noauth"
+REQUIRED_USE="ldap? ( !mysql !postgres !noauth )
+ mysql? ( !ldap !postgres !noauth )
+ postgres? ( !ldap !mysql !noauth )
+ noauth? ( !ldap !mysql !noauth )"
+
+DEPEND="dev-java/maven-bin:*"
+
+RDEPEND="${DEPEND}
+ www-servers/tomcat[websockets]
+ >virtual/jre-1.6
+ net-misc/guacamole-server
+ mysql? ( virtual/mysql )
+ postgres? ( dev-db/postgresql )
+ ldap? ( net-nds/openldap )"
+
+src_compile() {
+ mkdir "${HOME}"/.m2
+ cat /usr/share/`readlink /usr/bin/mvn | sed 's:mvn:maven-bin:'`/conf/settings.xml | \
+ sed -e 's:/path/to/local/repo:'${HOME}/.m2':g' -e 's:<!-- localRepo::' >"${S}"/settings.xml
+ mvn -s "${S}"/settings.xml package
+}
+
+src_install() {
+ echo guacd-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo guacd-port: 4822 >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo basic-user-mapping: /etc/guacamole/user-mapping.xml >>"${S}/${PN}/doc/example/${PN}.properties"
+ if use noauth; then
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
+ echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo auth-provider: net.sourceforge.guacamole.net.auth.noauth.NoAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo noauth-config: /etc/guacamole/noauth-config.xml >>"${S}/${PN}/doc/example/${PN}.properties"
+ insinto "/var/lib/${PN}/classpath"
+ find "${WORKDIR}/${PN}-auth-noauth-${PV}/" -name '*.jar' -exec doins '{}' +
+ insinto "/etc/guacamole"
+ find "${WORKDIR}/${PN}-auth-noauth-${PV}/doc/example/" -name '*.xml' -exec doins '{}' +
+ elog "Warning: Setting No Athentication is obviously very insecure! Only use it if you know what you are doing!"
+ elif use mysql; then
+ echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo auth-provider: net.sourceforge.guacamole.net.auth.mysql.MySQLAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-port: 3306 >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo mysql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
+ insinto "/var/lib/${PN}/classpath"
+ find "${WORKDIR}/${PN}-auth-jdbc-${PV}/mysql/" -name '*.jar' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema"
+ find "${WORKDIR}/${PN}-auth-jdbc-${PV}/mysql/schema/" -name '*.sql' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema/upgrade"
+ find "${WORKDIR}/${PN}-auth-jdbc-${PV}/mysql/schema/upgrade/" -name '*.sql' -exec doins '{}' +
+ elog "Please add a mysql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
+ elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
+ elog "The default user and it's password is \"guacadmin\"."
+ elog "You will also need to download the mysql-connector from here http://dev.mysql.com/downloads/connector/j/"
+ elog "and put the contained .jar file into /var/lib/guacamole/classpath!"
+ elog "-"
+ elif use postgres; then
+ echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo auth-provider: net.sourceforge.guacamole.net.auth.postgresql.PostgreSQLAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo postgresql-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo postgresql-port: 5432 >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo postgresql-database: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo postgresql-username: guacamole >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo postgresql-password: some_password >>"${S}/${PN}/doc/example/${PN}.properties"
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
+ insinto "/var/lib/${PN}/classpath"
+ find "${WORKDIR}/${PN}-auth-jdbc-${PV}/postgresql/" -name '*.jar' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema"
+ find "${WORKDIR}/${PN}-auth-jdbc-${PV}/postgresql/schema/" -name '*.sql' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema/upgrade"
+ find "${WORKDIR}/${PN}-auth-jdbc-${PV}/postgresql/schema/upgrade/" -name '*.sql' -exec doins '{}' +
+ elog "Please add a postgresql database and a user and load the sql files in /usr/share/guacamole/schema/ into it."
+ elog "You will also need to adjust the DB propeties in /etc/guacamole.properties!"
+ elog "The default user and it's password is \"guacadmin\"."
+ elog "You will also need to download the postgresql-connector from here https://jdbc.postgresql.org/download.html#current"
+ elog "and put the contained .jar file into /var/lib/guacamole/classpath!"
+ elog "-"
+ elif use ldap; then
+ echo lib-directory: "/var/lib/${PN}/classpath" >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo auth-provider: net.sourceforge.guacamole.net.auth.ldap.LDAPAuthenticationProvider >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-hostname: localhost >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-port: 389 >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-user-base-dn: ou=people,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-username-attribute: uid >>"${S}/${PN}/doc/example/${PN}.properties"
+ echo ldap-config-base-dn: ou=groups,dc=example,dc=net >>"${S}/${PN}/doc/example/${PN}.properties"
+ sed -e 's:basic-user-mapping:#basic-user-mapping:' -i "${S}/${PN}/doc/example/${PN}.properties"
+ insinto "/var/lib/${PN}/classpath"
+ find "${WORKDIR}/${PN}-auth-ldap-${PV}/lib/" -name '*.jar' -exec doins '{}' +
+ insinto "/usr/share/${PN}/schema"
+ doins "${WORKDIR}/${PN}-auth-ldap-${PV}/schema/guacConfigGroup.ldif" "${WORKDIR}/${PN}-auth-ldap-${PV}/schema/guacConfigGroup.schema"
+ elog "You will need to add and load the .schema file in /usr/share/guacamole/schema/ to your ldap server."
+ elog "There is also an example .lidf file for creating the users."
+ elog "-"
+ else
+ insinto "/etc/${PN}"
+ doins "${WORKDIR}/${PN}-client-${PV}/${PN}/doc/example/user-mapping.xml"
+ fi
+ insinto "/etc/${PN}"
+ doins "${S}/${PN}/doc/example/guacamole.properties"
+ doins "${S}/${PN}/doc/example/user-mapping.xml"
+ insinto "/var/lib/${PN}"
+ newins "${S}/${PN}/target/${P}.war" "${PN}.war"
+ elog "If it is an update, please make sure to delete the old webapp in /var/lib/tomcat-7/webapps/ first!"
+ elog "To deploy guacamole with tomcat, you will need to link the war file and create the configuration!"
+ elog "ln -sf /var/lib/${PN}/${PN}.war /var/lib/tomcat-7/webapps/ && mkdir /var/lib/tomcat-7/webapps/.${PN}"
+ elog "You will also need to create a configuration in /var/lib/tomcat-7/webapps/.${PN}/${PN}.properties"
+ elog "See http://guac-dev.org/doc/0.9.7/gug/configuring-guacamole.html#initial-setup for a basic setup"
+ elog "or http://guac-dev.org/doc/0.9.7/gug/jdbc-auth.html for a database for authentication and host definitions."
+}
diff --git a/www-apps/guacamole/metadata.xml b/www-apps/guacamole/metadata.xml
new file mode 100644
index 000000000000..e69c10773c1a
--- /dev/null
+++ b/www-apps/guacamole/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>
+ <email>nativemad@gentoo.org</email>
+ <name>Andreas Schuerch</name>
+ </maintainer>
+ <longdescription>
+ Guacamole is an HTML5 web application that provides access to desktop
+ environments using remote desktop protocols such as VNC or RDP.
+ A centralized server acts as a tunnel and proxy, allowing access to
+ multiple desktops through a web browser. No plugins are needed:
+ the client requires nothing more than a web browser supporting
+ HTML5 and AJAX.
+ </longdescription>
+ <use>
+ <flag name="noauth">enable support for leaving out any authentication on the webinterface</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">guacamole</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/hiawatha-monitor/Manifest b/www-apps/hiawatha-monitor/Manifest
new file mode 100644
index 000000000000..0defab09034d
--- /dev/null
+++ b/www-apps/hiawatha-monitor/Manifest
@@ -0,0 +1,3 @@
+DIST monitor-0.7.tar.gz 417398 SHA256 ddd6c80fb6830a7ced3e7621d2ef5f668d25a8901cfa524f80d863df5ebde029 SHA512 e63470b89d9eb0c2caea7910fcfcc36959afa41c825cea7001c050c261b2e05a6834cfe6dcf8a9c5a449767ea4da534b8e2197ae87d5ba8e57db00573e95dfb5 WHIRLPOOL e09f55243db81a0f9c5b047068245f214aa62d94a8cbb26e1718c0f17cdb90632e343e2d1b286d14a7c5cb1a6dd944fd3064a397fdeddcf21e3453aff8bc871d
+DIST monitor-0.8.tar.gz 451788 SHA256 57bf4a9f00ea93bc3d540aae5f8387e0024f77e7e057abac4c0b9023506f72cc SHA512 587c500542bca20d4f665bc519b598a02145df56e56b5edfcab5ca4004350bd9bb5354528b6672b4b7e72f82e5899158b20ceeb4ed77ccf390ef6dd4a415f0e6 WHIRLPOOL 952789ced92b3e9ca119ee368dc86b4e1339574596ce1ae5a790bde5f874b3076ec5a025bbb38a23409ab041f60a964801250c2131aaf831d9e5d4a3ab523199
+DIST monitor-1.0.tar.gz 455196 SHA256 33ce03254464fbabe40c22a7614ae89c227bb9abd5f32988d22ba5068ddda3d9 SHA512 02f97c8d11f90256613ca0437ec195f5f47695228ddb0e4615f7acbc06e2c1b60c52253a716f7560b704fa300fe4022cee7824e084c91d93cf1fcb2912012b93 WHIRLPOOL 7343f032de2f0d6c6550b21f2f9af243dd36bfdc24967561ce47bd11d03e07d3a808bf158c50f410cb06709dd852042f7e912b6f3b8e57ab96397125fb505b57
diff --git a/www-apps/hiawatha-monitor/hiawatha-monitor-0.7.ebuild b/www-apps/hiawatha-monitor/hiawatha-monitor-0.7.ebuild
new file mode 100644
index 000000000000..78d663419e52
--- /dev/null
+++ b/www-apps/hiawatha-monitor/hiawatha-monitor-0.7.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_P="monitor"
+
+DESCRIPTION="Monitoring application for www-servers/hiawatha"
+HOMEPAGE="http://www.hiawatha-webserver.org/howto/monitor"
+SRC_URI="http://www.hiawatha-webserver.org/files/${MY_P}-${PV}.tar.gz "
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="=dev-lang/php-5*[mysql,xslt]
+ virtual/cron
+ virtual/mysql
+ www-servers/hiawatha[xslt]"
+
+S=${WORKDIR}/${MY_P}
+
+src_install () {
+ default
+
+ rm -f ChangeLog README LICENSE
+
+ insinto /usr/share/${PN}
+ doins -r *
+}
diff --git a/www-apps/hiawatha-monitor/hiawatha-monitor-0.8.ebuild b/www-apps/hiawatha-monitor/hiawatha-monitor-0.8.ebuild
new file mode 100644
index 000000000000..78d663419e52
--- /dev/null
+++ b/www-apps/hiawatha-monitor/hiawatha-monitor-0.8.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_P="monitor"
+
+DESCRIPTION="Monitoring application for www-servers/hiawatha"
+HOMEPAGE="http://www.hiawatha-webserver.org/howto/monitor"
+SRC_URI="http://www.hiawatha-webserver.org/files/${MY_P}-${PV}.tar.gz "
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="=dev-lang/php-5*[mysql,xslt]
+ virtual/cron
+ virtual/mysql
+ www-servers/hiawatha[xslt]"
+
+S=${WORKDIR}/${MY_P}
+
+src_install () {
+ default
+
+ rm -f ChangeLog README LICENSE
+
+ insinto /usr/share/${PN}
+ doins -r *
+}
diff --git a/www-apps/hiawatha-monitor/hiawatha-monitor-1.0.ebuild b/www-apps/hiawatha-monitor/hiawatha-monitor-1.0.ebuild
new file mode 100644
index 000000000000..78d663419e52
--- /dev/null
+++ b/www-apps/hiawatha-monitor/hiawatha-monitor-1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+MY_P="monitor"
+
+DESCRIPTION="Monitoring application for www-servers/hiawatha"
+HOMEPAGE="http://www.hiawatha-webserver.org/howto/monitor"
+SRC_URI="http://www.hiawatha-webserver.org/files/${MY_P}-${PV}.tar.gz "
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="=dev-lang/php-5*[mysql,xslt]
+ virtual/cron
+ virtual/mysql
+ www-servers/hiawatha[xslt]"
+
+S=${WORKDIR}/${MY_P}
+
+src_install () {
+ default
+
+ rm -f ChangeLog README LICENSE
+
+ insinto /usr/share/${PN}
+ doins -r *
+}
diff --git a/www-apps/hiawatha-monitor/metadata.xml b/www-apps/hiawatha-monitor/metadata.xml
new file mode 100644
index 000000000000..38e716583fc7
--- /dev/null
+++ b/www-apps/hiawatha-monitor/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>
+ <email>hasufell@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type='github'>hsleisink/monitor</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/horde-chora/Manifest b/www-apps/horde-chora/Manifest
new file mode 100644
index 000000000000..c15270c22860
--- /dev/null
+++ b/www-apps/horde-chora/Manifest
@@ -0,0 +1 @@
+DIST chora-h3-2.0.2.tar.gz 801775 RMD160 88c38712e660310c1ef7a9c7f636ba7177331b56 SHA1 411c51e6e62cc02986ee66dfe5d7dfa569a1d4c7 SHA256 bbadfc0f63ba3c5034c98c9c2cbf0913c2e01fa0656ac2d49d372c2c7d1c1745
diff --git a/www-apps/horde-chora/horde-chora-2.0.2.ebuild b/www-apps/horde-chora/horde-chora-2.0.2.ebuild
new file mode 100644
index 000000000000..af9135bb4652
--- /dev/null
+++ b/www-apps/horde-chora/horde-chora-2.0.2.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Chora is the Horde CVS viewer"
+
+KEYWORDS="alpha amd64 hppa ppc sparc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="|| ( >=www-apps/horde-3 >=www-apps/horde-groupware-1 >=www-apps/horde-webmail-1 )
+ >=dev-vcs/rcs-5.7-r1
+ >=dev-vcs/cvs-1.11.2"
diff --git a/www-apps/horde-chora/metadata.xml b/www-apps/horde-chora/metadata.xml
new file mode 100644
index 000000000000..60478682cdb4
--- /dev/null
+++ b/www-apps/horde-chora/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<longdescription>
+Chora is our tool for viewing code repositories that are managed using
+the CVS source control system. It aims to provide a high degree of
+integration with CVS and the other Horde web-based tools.
+
+Right now, Chora comes close to matching existing CVS-Web scripts
+feature for feature, and provides a solid base for future development.
+Some exciting new features include a visual branch viewing tool, which
+intelligently displays the branch history of a given file. Branches have
+traditionally been a source of confusion when using CVS, and this
+feature aims to make it a bit clearer and easier to use.
+
+Chora is designed from the ground-up with customisability in mind, since
+CVS is used in a variety of different ways. Because of this, all the CVS
+manipulation logic is abstracted away in our CVSLib library module. The
+main PHP scripts are simple HTML rendering scripts, while the complex
+RCS logic is hidden away in the library. This library can be used for a
+variety of other uses, such as searching for commits, graph generation,
+change collation, etc (all features planned for eventual inclusion into
+Chora).
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/horde-dimp/Manifest b/www-apps/horde-dimp/Manifest
new file mode 100644
index 000000000000..ab54ab43c0ad
--- /dev/null
+++ b/www-apps/horde-dimp/Manifest
@@ -0,0 +1 @@
+DIST dimp-h3-1.1.5.tar.gz 1283745 RMD160 d0e213b4df538e1535d993f2a6adb44d1d26ae3d SHA1 99508d496d504952698dba068d59b7bdd9da0616 SHA256 28cff66b2768fe88357831ee081f5428069a478c5316e682eecb4a64ef3a0a50
diff --git a/www-apps/horde-dimp/horde-dimp-1.1.5.ebuild b/www-apps/horde-dimp/horde-dimp-1.1.5.ebuild
new file mode 100644
index 000000000000..ffbfa877fca8
--- /dev/null
+++ b/www-apps/horde-dimp/horde-dimp-1.1.5.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="imap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Horde DIMP is a alternate presentation view of IMP using AJAX-ish
+technologies"
+
+KEYWORDS="alpha amd64 hppa ~ia64 ppc ~sparc x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="|| ( >=www-apps/horde-3.2 >=www-apps/horde-groupware-1 )
+ || ( >=www-apps/horde-imp-4.2 >=www-apps/horde-groupware-1 )
+ !www-apps/horde-webmail"
diff --git a/www-apps/horde-dimp/metadata.xml b/www-apps/horde-dimp/metadata.xml
new file mode 100644
index 000000000000..105739700b78
--- /dev/null
+++ b/www-apps/horde-dimp/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<longdescription>
+Horde DIMP is a alternate presentation view of IMP using AJAX-ish
+technologies.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/horde-gollem/Manifest b/www-apps/horde-gollem/Manifest
new file mode 100644
index 000000000000..ffc3e618027c
--- /dev/null
+++ b/www-apps/horde-gollem/Manifest
@@ -0,0 +1 @@
+DIST gollem-h3-1.1.2.tar.gz 1631114 RMD160 375f91640396f81c79b27761d83bd5b259de4469 SHA1 7fe3397b88ad26cc3ebb81589082d447b0402978 SHA256 67475fa2011317f06d410751b943cdba55c80995042e76949df432274a9ff4f1
diff --git a/www-apps/horde-gollem/horde-gollem-1.1.2.ebuild b/www-apps/horde-gollem/horde-gollem-1.1.2.ebuild
new file mode 100644
index 000000000000..cadf4ba5d849
--- /dev/null
+++ b/www-apps/horde-gollem/horde-gollem-1.1.2.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Horde Gollem provides a web-based File Manager"
+
+KEYWORDS="alpha amd64 hppa ppc sparc x86"
+
+DEPEND=""
+RDEPEND="|| ( >=www-apps/horde-3 >=www-apps/horde-groupware-1 >=www-apps/horde-webmail-1 )"
diff --git a/www-apps/horde-gollem/metadata.xml b/www-apps/horde-gollem/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/horde-gollem/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/horde-hermes/Manifest b/www-apps/horde-hermes/Manifest
new file mode 100644
index 000000000000..52c66f74f1d1
--- /dev/null
+++ b/www-apps/horde-hermes/Manifest
@@ -0,0 +1 @@
+DIST hermes-h3-1.0.1.tar.gz 357381 RMD160 4f19ff995bdb4a7cb7160427b005920938b647de SHA1 bac45765bdaee1dcab5713028942fe8b7fabf55e SHA256 0b4309264404e9e67545e99da30b9d2acf71d09f9322748316565951966822d9
diff --git a/www-apps/horde-hermes/horde-hermes-1.0.1.ebuild b/www-apps/horde-hermes/horde-hermes-1.0.1.ebuild
new file mode 100644
index 000000000000..86a81a01ef35
--- /dev/null
+++ b/www-apps/horde-hermes/horde-hermes-1.0.1.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="A time-tracking application for Horde"
+
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+RDEPEND="|| ( >=www-apps/horde-3 >=www-apps/horde-groupware-1 )"
diff --git a/www-apps/horde-hermes/metadata.xml b/www-apps/horde-hermes/metadata.xml
new file mode 100644
index 000000000000..19e58ab40b7d
--- /dev/null
+++ b/www-apps/horde-hermes/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<longdescription>
+Hermes is a time-tracking application integrated with the Horde Framework. It ties into Turba (to retrieve clients) and Nag and Whups (to retrieve cost objects). It comes with a stop watch, search and reporting capabilities, and an invoice interface.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/horde-imp/Manifest b/www-apps/horde-imp/Manifest
new file mode 100644
index 000000000000..1c9de5f7688a
--- /dev/null
+++ b/www-apps/horde-imp/Manifest
@@ -0,0 +1,2 @@
+DIST imp-h3-4.3.8.tar.gz 5508581 RMD160 fee2a20890912ee6fb2fa124af17c6aaa338b7d7 SHA1 75b7e840843e2c6446269733a86bd407c7172fcc SHA256 fce4cf0a8bc03dc112335d4b7da40e8fc5fbc408e3943e2901654f5cfb7dbba5
+DIST imp-h3-4.3.9.tar.gz 5504324 RMD160 ec5709ab5fc53e0fa522b57b23b4fb5a6435ad39 SHA1 763dd8b797b1039a5ecf9a9d6dc97b824b92a3c1 SHA256 d5bfcec1fe2f3298a799235f388e56e2a5a73b1b6d283f805dc9adb89ac37100
diff --git a/www-apps/horde-imp/horde-imp-4.3.8.ebuild b/www-apps/horde-imp/horde-imp-4.3.8.ebuild
new file mode 100644
index 000000000000..cb9590f0a7ed
--- /dev/null
+++ b/www-apps/horde-imp/horde-imp-4.3.8.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="imap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Horde IMP provides webmail access to IMAP/POP3 mailboxes"
+
+KEYWORDS="alpha amd64 hppa ~ia64 ppc sparc x86"
+IUSE="crypt"
+
+DEPEND=""
+RDEPEND="|| ( >=www-apps/horde-3 >=www-apps/horde-groupware-1 )
+ crypt? ( app-crypt/gnupg )"
diff --git a/www-apps/horde-imp/horde-imp-4.3.9.ebuild b/www-apps/horde-imp/horde-imp-4.3.9.ebuild
new file mode 100644
index 000000000000..6a3e932352b7
--- /dev/null
+++ b/www-apps/horde-imp/horde-imp-4.3.9.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="imap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Horde IMP provides webmail access to IMAP/POP3 mailboxes"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86"
+IUSE="crypt"
+
+DEPEND=""
+RDEPEND="|| ( >=www-apps/horde-3 >=www-apps/horde-groupware-1 )
+ crypt? ( app-crypt/gnupg )"
diff --git a/www-apps/horde-imp/metadata.xml b/www-apps/horde-imp/metadata.xml
new file mode 100644
index 000000000000..80a52651e16f
--- /dev/null
+++ b/www-apps/horde-imp/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+<longdescription>
+IMP is the Internet Messaging Program. It is written in PHP and provides
+webmail access to IMAP and POP3 accounts.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/horde-ingo/Manifest b/www-apps/horde-ingo/Manifest
new file mode 100644
index 000000000000..09b8be422116
--- /dev/null
+++ b/www-apps/horde-ingo/Manifest
@@ -0,0 +1,3 @@
+DIST ingo-h3-1.1.2.tar.gz 1342239 RMD160 16b90f128d9e170805922d4e2862559a4f9a352d SHA1 8c28dbf21363d8e95eed6b0a3b8a8b3148e5d1c4 SHA256 94a6514ade16eb527885ccc9e0f92c653795383efb51aca1a8186a9d53866390
+DIST ingo-h3-1.2.3.tar.gz 2025409 RMD160 c418f6f6eb7ced3de13d56e5a6c11103dd4cc89a SHA1 ad552a5113be6260eb4a71d093befec60a340484 SHA256 4a0938793d5fe26e1fc553d5e0e5a08ca9c5df15e2b452921af0dbe2c8c0dfa3
+DIST ingo-h3-1.2.5.tar.gz 2041667 RMD160 1e9eeeaa672be1677c330096b04eaab0fdeb4152 SHA1 be629e6e54ab7f24b1ff13b2ee5b84896fc8f1b5 SHA256 b6b5084ef44d94b55e79e155ca65d47bd922fc1c6759e3a0ffc07f7423e47457
diff --git a/www-apps/horde-ingo/horde-ingo-1.1.2.ebuild b/www-apps/horde-ingo/horde-ingo-1.1.2.ebuild
new file mode 100644
index 000000000000..e7cbdec5bb3e
--- /dev/null
+++ b/www-apps/horde-ingo/horde-ingo-1.1.2.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="imap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="e-mail filter rules manager for Horde IMP"
+
+KEYWORDS="alpha amd64 hppa ppc x86"
+
+DEPEND=""
+RDEPEND=">=www-apps/horde-3"
diff --git a/www-apps/horde-ingo/horde-ingo-1.2.3.ebuild b/www-apps/horde-ingo/horde-ingo-1.2.3.ebuild
new file mode 100644
index 000000000000..838c0b3d0d1e
--- /dev/null
+++ b/www-apps/horde-ingo/horde-ingo-1.2.3.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="imap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="e-mail filter rules manager for Horde IMP"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~x86"
+
+DEPEND=""
+RDEPEND="|| ( >=www-apps/horde-3 >=www-apps/horde-groupware-1 )"
diff --git a/www-apps/horde-ingo/horde-ingo-1.2.5.ebuild b/www-apps/horde-ingo/horde-ingo-1.2.5.ebuild
new file mode 100644
index 000000000000..da856179ebbd
--- /dev/null
+++ b/www-apps/horde-ingo/horde-ingo-1.2.5.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="imap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="e-mail filter rules manager for Horde IMP"
+
+KEYWORDS="alpha amd64 hppa ppc x86"
+
+DEPEND=""
+RDEPEND="|| ( >=www-apps/horde-3 >=www-apps/horde-groupware-1 )"
diff --git a/www-apps/horde-ingo/metadata.xml b/www-apps/horde-ingo/metadata.xml
new file mode 100644
index 000000000000..7724759b556d
--- /dev/null
+++ b/www-apps/horde-ingo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<longdescription>
+Ingo is an email filter rules manager.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/horde-jeta/Manifest b/www-apps/horde-jeta/Manifest
new file mode 100644
index 000000000000..1fdd96d4c512
--- /dev/null
+++ b/www-apps/horde-jeta/Manifest
@@ -0,0 +1 @@
+DIST jeta-h3-1.0.tar.gz 3213231 RMD160 1aa75010f78bb8a738900756fc3ec7129212fcf3 SHA1 09b0ab5b22f710ed818bebef41e8ddd4fefc114b SHA256 6abf801d70452f1186af1cd6415cde582dcb41b81fe30a1ef09db575cc46bd70
diff --git a/www-apps/horde-jeta/horde-jeta-1.0.ebuild b/www-apps/horde-jeta/horde-jeta-1.0.ebuild
new file mode 100644
index 000000000000..17afa4e9d1e6
--- /dev/null
+++ b/www-apps/horde-jeta/horde-jeta-1.0.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Java SSH interface for Horde"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+
+DEPEND=""
+RDEPEND="|| ( >=www-apps/horde-3 >=www-apps/horde-groupware-1 >=www-apps/horde-webmail-1 )"
diff --git a/www-apps/horde-jeta/metadata.xml b/www-apps/horde-jeta/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/horde-jeta/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/horde-kronolith/Manifest b/www-apps/horde-kronolith/Manifest
new file mode 100644
index 000000000000..a3201d6e776c
--- /dev/null
+++ b/www-apps/horde-kronolith/Manifest
@@ -0,0 +1,3 @@
+DIST kronolith-h3-2.1.8.tar.gz 1920783 RMD160 21f6ad8f2273eea31be4c414eff5bfd8a36fa457 SHA1 e60bdd72ab6576503a8adeb41921584fe297bf7b SHA256 0d5c8cfb7ea5ef15b3f1fe4408ad668bdb9deaacdcefc186214954e452af2c9a
+DIST kronolith-h3-2.3.4.tar.gz 2719660 RMD160 c4c94b8b57d6472dbea828f2b8b17e867ca6aa0f SHA1 a1ecdcaac070b08a28a379da300ea95f1449fbbf SHA256 443a9fca3e12951df2e1e5755914856afab5653c273237bbc7bd66ea48cc0540
+DIST kronolith-h3-2.3.5.tar.gz 2734451 RMD160 b00fdb617fa8f4041fe2767577a68c2229a24a68 SHA1 4bc0cea62d105f5f558d6590538cf010085544b3 SHA256 dd347418978fbcf6a510b3a469665507318067e901e985b463ae469a9df10dad
diff --git a/www-apps/horde-kronolith/horde-kronolith-2.1.8.ebuild b/www-apps/horde-kronolith/horde-kronolith-2.1.8.ebuild
new file mode 100644
index 000000000000..c5a409942399
--- /dev/null
+++ b/www-apps/horde-kronolith/horde-kronolith-2.1.8.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="-o mysql mysqli odbc postgres ldap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Kronolith is the Horde calendar application"
+
+KEYWORDS="alpha amd64 hppa ppc x86"
+
+DEPEND=""
+RDEPEND=">=www-apps/horde-3"
diff --git a/www-apps/horde-kronolith/horde-kronolith-2.3.4.ebuild b/www-apps/horde-kronolith/horde-kronolith-2.3.4.ebuild
new file mode 100644
index 000000000000..dd4ddfb64830
--- /dev/null
+++ b/www-apps/horde-kronolith/horde-kronolith-2.3.4.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="-o mysql mysqli odbc postgres ldap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Kronolith is the Horde calendar application"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~x86"
+
+DEPEND=""
+RDEPEND=">=www-apps/horde-3"
diff --git a/www-apps/horde-kronolith/horde-kronolith-2.3.5.ebuild b/www-apps/horde-kronolith/horde-kronolith-2.3.5.ebuild
new file mode 100644
index 000000000000..c5a409942399
--- /dev/null
+++ b/www-apps/horde-kronolith/horde-kronolith-2.3.5.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="-o mysql mysqli odbc postgres ldap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Kronolith is the Horde calendar application"
+
+KEYWORDS="alpha amd64 hppa ppc x86"
+
+DEPEND=""
+RDEPEND=">=www-apps/horde-3"
diff --git a/www-apps/horde-kronolith/metadata.xml b/www-apps/horde-kronolith/metadata.xml
new file mode 100644
index 000000000000..23226ecc99a7
--- /dev/null
+++ b/www-apps/horde-kronolith/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<longdescription>
+Kronolith is the Horde calendar application. It provides a stable and
+featureful individual calendar system for every Horde user, and
+collaboration/scheduling features are starting to take shape. It makes
+extensive use of the Horde Framework to provide integration with other
+applications.
+
+Right now, Kronolith implements a solid, stand-alone calendar system,
+allowing repeating events, all-day events, custom fields, keywords, and
+managing multiple users through Horde Authentication. The calendar API
+that Kronolith uses is abstracted such that it could work with any
+backend, but right now we provide SQL (abstracted to support most
+databases, including MySQL, PostgreSQL, Oracle, and MSSQL via PEAR DB)
+and MCAL backend libraries.
+
+The latest (not yet released) version, available from CVS supports
+shared calendars, allowing others various levels of access to your
+calendar, better iCalendar support, and generation of iCalendar
+free/busy information.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/horde-mimp/Manifest b/www-apps/horde-mimp/Manifest
new file mode 100644
index 000000000000..d5466402571e
--- /dev/null
+++ b/www-apps/horde-mimp/Manifest
@@ -0,0 +1,3 @@
+DIST mimp-h3-1.0.1.tar.gz 677800 RMD160 8386d4788e79c42656f75ab86408beb2ef817455 SHA1 9384ccef8c59c31d62473ab4610451b324b44474 SHA256 cef9c9b06d384bc2d25ed300f9d750cfdc5db347628039580180f06000a68f4c
+DIST mimp-h3-1.1.2.tar.gz 1089992 RMD160 2342b943d3516f49fb8be0e66f399fd26e00ddcf SHA1 d555393966a4460653c9cb6adf7be8f824c0ecb5 SHA256 f3066174bc8421b626d2e6b5821e57940ceee71b3001106514d37eab6a1e14aa
+DIST mimp-h3-1.1.3.tar.gz 1153419 RMD160 fca4c8ab044c0495bd07b99021aa066b0f2b390b SHA1 03f0cc770cd598d08d86f5163b7c56295e2dc581 SHA256 8e146ff1435e650a1acef72ac95487d86ef673efa9ad031f3f2ed94d39d7393d
diff --git a/www-apps/horde-mimp/horde-mimp-1.0.1.ebuild b/www-apps/horde-mimp/horde-mimp-1.0.1.ebuild
new file mode 100644
index 000000000000..4b4ed624a06d
--- /dev/null
+++ b/www-apps/horde-mimp/horde-mimp-1.0.1.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="imap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Horde MIMP provides minimalist webmail access suitable for mobile devices"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc sparc ~x86"
+IUSE="crypt"
+
+DEPEND=""
+RDEPEND=">=www-apps/horde-3
+ crypt? ( app-crypt/gnupg )"
diff --git a/www-apps/horde-mimp/horde-mimp-1.1.2.ebuild b/www-apps/horde-mimp/horde-mimp-1.1.2.ebuild
new file mode 100644
index 000000000000..6fa114e36063
--- /dev/null
+++ b/www-apps/horde-mimp/horde-mimp-1.1.2.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="imap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Horde MIMP provides minimalist webmail access suitable for mobile devices"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="crypt"
+
+DEPEND=""
+RDEPEND="|| ( >=www-apps/horde-3 >=www-apps/horde-groupware-1 >=www-apps/horde-webmail-1 )
+ crypt? ( app-crypt/gnupg )"
diff --git a/www-apps/horde-mimp/horde-mimp-1.1.3.ebuild b/www-apps/horde-mimp/horde-mimp-1.1.3.ebuild
new file mode 100644
index 000000000000..6fa114e36063
--- /dev/null
+++ b/www-apps/horde-mimp/horde-mimp-1.1.3.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="imap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Horde MIMP provides minimalist webmail access suitable for mobile devices"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="crypt"
+
+DEPEND=""
+RDEPEND="|| ( >=www-apps/horde-3 >=www-apps/horde-groupware-1 >=www-apps/horde-webmail-1 )
+ crypt? ( app-crypt/gnupg )"
diff --git a/www-apps/horde-mimp/metadata.xml b/www-apps/horde-mimp/metadata.xml
new file mode 100644
index 000000000000..6632069b5aff
--- /dev/null
+++ b/www-apps/horde-mimp/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/horde-mnemo/Manifest b/www-apps/horde-mnemo/Manifest
new file mode 100644
index 000000000000..36578923b9b3
--- /dev/null
+++ b/www-apps/horde-mnemo/Manifest
@@ -0,0 +1,2 @@
+DIST mnemo-h3-2.2.3.tar.gz 1668520 RMD160 b85cf47ca7669133e2cf403c2c6c8e748f153848 SHA1 2c3851dd7a92ae3d98c75126c2dd53340ec3a685 SHA256 8a18a4552ed69502b197a1e932bf62546fb05575ddac22fd4fde8bbc8812724e
+DIST mnemo-h3-2.2.4.tar.gz 1673734 RMD160 1a2e1f4ed46fb83b3715020d587ca28223c0857a SHA1 2f19977107e6cafdfba9a0585408c9d42b5058d2 SHA256 7c1226e558002a03034cbf1655d7995ae04e6c5ade71cf3c5dc6a5537d00e976
diff --git a/www-apps/horde-mnemo/horde-mnemo-2.2.3.ebuild b/www-apps/horde-mnemo/horde-mnemo-2.2.3.ebuild
new file mode 100644
index 000000000000..6a18eea979ee
--- /dev/null
+++ b/www-apps/horde-mnemo/horde-mnemo-2.2.3.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="-o mysql mysqli odbc postgres ldap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Mnemo is the Horde note manager"
+
+KEYWORDS="alpha amd64 hppa ppc sparc x86"
+
+DEPEND=""
+RDEPEND=">=www-apps/horde-3"
diff --git a/www-apps/horde-mnemo/horde-mnemo-2.2.4.ebuild b/www-apps/horde-mnemo/horde-mnemo-2.2.4.ebuild
new file mode 100644
index 000000000000..ea548aba09a1
--- /dev/null
+++ b/www-apps/horde-mnemo/horde-mnemo-2.2.4.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="-o mysql mysqli odbc postgres ldap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Mnemo is the Horde note manager"
+
+KEYWORDS="~alpha amd64 ~hppa ~ppc ~sparc x86"
+
+DEPEND=""
+RDEPEND=">=www-apps/horde-3"
diff --git a/www-apps/horde-mnemo/metadata.xml b/www-apps/horde-mnemo/metadata.xml
new file mode 100644
index 000000000000..e842c3a05b62
--- /dev/null
+++ b/www-apps/horde-mnemo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<longdescription>
+Mnemo is a note manager.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/horde-nag/Manifest b/www-apps/horde-nag/Manifest
new file mode 100644
index 000000000000..91ad39c8ecab
--- /dev/null
+++ b/www-apps/horde-nag/Manifest
@@ -0,0 +1,2 @@
+DIST nag-h3-2.3.4.tar.gz 2111158 RMD160 8edb8b24e8b62394d6860b8d8b1902f2ecc8641a SHA1 25949cb6fc1254c594c1aa15894c3fbe8c3db6b8 SHA256 f8eac1e4425810cc386cce35181e4c078ad858837bd3343a42f37305a670e385
+DIST nag-h3-2.3.6.tar.gz 2118662 RMD160 b0f83a4886ac1958d112c71b35653f86c3f162fd SHA1 ac82132a97b93b502156dca0e912a69a2f169c4f SHA256 c516124694a2c74af21a7d7b0373d24f565ba7056b6e1ef7fc0e01f7eac54314
diff --git a/www-apps/horde-nag/horde-nag-2.3.4.ebuild b/www-apps/horde-nag/horde-nag-2.3.4.ebuild
new file mode 100644
index 000000000000..e2c5eb5f334b
--- /dev/null
+++ b/www-apps/horde-nag/horde-nag-2.3.4.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="-o mysql mysqli odbc postgres ldap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Nag is the Horde multiuser task list manager"
+
+KEYWORDS="alpha amd64 hppa ppc x86"
+
+DEPEND=""
+RDEPEND=">=www-apps/horde-3"
diff --git a/www-apps/horde-nag/horde-nag-2.3.6.ebuild b/www-apps/horde-nag/horde-nag-2.3.6.ebuild
new file mode 100644
index 000000000000..5b396697a22c
--- /dev/null
+++ b/www-apps/horde-nag/horde-nag-2.3.6.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="-o mysql mysqli odbc postgres ldap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Nag is the Horde multiuser task list manager"
+
+KEYWORDS="alpha amd64 hppa ppc x86"
+
+DEPEND=""
+RDEPEND=">=www-apps/horde-3"
+
+src_unpack() {
+ horde_src_unpack
+
+ # Remove vtodo specs as they don't install and are not useful to the end user
+ rm -r docs/vtodo || die 'removing docs failed'
+}
diff --git a/www-apps/horde-nag/metadata.xml b/www-apps/horde-nag/metadata.xml
new file mode 100644
index 000000000000..0df3fe67cab1
--- /dev/null
+++ b/www-apps/horde-nag/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<longdescription>
+Nag is a simple, multiuser task list manager.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/horde-passwd/Manifest b/www-apps/horde-passwd/Manifest
new file mode 100644
index 000000000000..9f3634ddae24
--- /dev/null
+++ b/www-apps/horde-passwd/Manifest
@@ -0,0 +1 @@
+DIST passwd-h3-3.1.3.tar.gz 1573151 RMD160 b29dea6d30041ccf04960646693d7281a7b2fbcb SHA1 4ddc4a54cb913e934838ddc2a4d5056065f321df SHA256 e34729f9208f724d7ac88e522fe22ddeea8e8c818f650544777a13e9ba789e27
diff --git a/www-apps/horde-passwd/files/horde-passwd-3.0-no-clear-password.patch b/www-apps/horde-passwd/files/horde-passwd-3.0-no-clear-password.patch
new file mode 100644
index 000000000000..8f4a238a898e
--- /dev/null
+++ b/www-apps/horde-passwd/files/horde-passwd-3.0-no-clear-password.patch
@@ -0,0 +1,13 @@
+--- passwd-h3-3.0/config/backends.php.dist
++++ passwd-h3-3.0/config/backends.php.dist
+@@ -314,8 +314,8 @@
+ 'name' => 'pw_name',
+ 'domain' => 'pw_domain',
+ 'passwd' => 'pw_passwd',
+- 'clear_passwd' => 'pw_clear_passwd',
+- 'use_clear_passwd' => true,
++ //'clear_passwd' => 'pw_clear_passwd',
++ 'use_clear_passwd' => false,
+ 'show_encryption' => true
+ )
+ );
diff --git a/www-apps/horde-passwd/horde-passwd-3.1.3.ebuild b/www-apps/horde-passwd/horde-passwd-3.1.3.ebuild
new file mode 100644
index 000000000000..2b3d3a4b11ff
--- /dev/null
+++ b/www-apps/horde-passwd/horde-passwd-3.1.3.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="ctype"
+
+HORDE_MAJ="-h3"
+inherit horde eutils
+
+DESCRIPTION="Horde Passwd is the Horde password changing application"
+
+KEYWORDS="alpha amd64 hppa ppc sparc x86"
+IUSE="clearpasswd"
+
+DEPEND=""
+RDEPEND="|| ( >=www-apps/horde-3 >=www-apps/horde-groupware-1 >=www-apps/horde-webmail-1 )"
+
+src_unpack() {
+ horde_src_unpack
+ cd "${S}"
+ use clearpasswd || epatch "${FILESDIR}"/${PN}-3.0-no-clear-password.patch
+}
diff --git a/www-apps/horde-passwd/metadata.xml b/www-apps/horde-passwd/metadata.xml
new file mode 100644
index 000000000000..b3c1823c8d13
--- /dev/null
+++ b/www-apps/horde-passwd/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<longdescription>
+Passwd is the Horde password changing application. While it has been
+released and is in production use at many sites, it is also under heavy
+development in an effort to expand and improve the module.
+
+Right now, Passwd provides fairly complete support for changing
+passwords via poppassd, ldap, unix expect scripts, the unix smbpasswd
+command for smb/cifs password support, servuftp, vmailmgr, vpopmail, and
+sql passwords.
+</longdescription>
+<use>
+ <flag name='clearpasswd'>Enables cleartext password storage in the vpopmail
+ files</flag>
+</use>
+</pkgmetadata>
diff --git a/www-apps/horde-pear/horde-pear-1.3-r3.ebuild b/www-apps/horde-pear/horde-pear-1.3-r3.ebuild
new file mode 100644
index 000000000000..f0bce68f5632
--- /dev/null
+++ b/www-apps/horde-pear/horde-pear-1.3-r3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Meta package for the PEAR packages required by Horde"
+HOMEPAGE="http://pear.php.net/"
+
+LICENSE="metapackage"
+SLOT="1"
+# when unmasking for an arch
+# double check none of the deps are still masked!
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 s390 sparc x86"
+IUSE=""
+
+S=${WORKDIR}
+
+RDEPEND="dev-php/PEAR-Log
+ dev-php/PEAR-Net_Sieve
+ dev-php/PEAR-Mail_Mime
+ >=dev-php/PEAR-DB-1.6.0
+ dev-php/PEAR-File
+ dev-php/PEAR-Date
+ >=dev-php/PEAR-Services_Weather-1.3.1
+ dev-php/PEAR-Mail"
diff --git a/www-apps/horde-pear/metadata.xml b/www-apps/horde-pear/metadata.xml
new file mode 100644
index 000000000000..449e031b5334
--- /dev/null
+++ b/www-apps/horde-pear/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<longdescription>
+Horde 2.x, IMP 3.x, and all other Horde applications make use of the
+PEAR libraries to handle such tasks as database abstraction, mail
+delivery and logging. These libraries come bundled with PHP4. However,
+since PEAR is a rapidly evolving target, not everyone who has a workable
+version of PHP4 has a recent enough PEAR installation.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/horde-turba/Manifest b/www-apps/horde-turba/Manifest
new file mode 100644
index 000000000000..f544a142ffde
--- /dev/null
+++ b/www-apps/horde-turba/Manifest
@@ -0,0 +1,2 @@
+DIST turba-h3-2.3.4.tar.gz 2516690 SHA256 91f41de902117a6e0801d5ab56855a427f7e6a592d23d9e3ec73da33ccc5df8f
+DIST turba-h3-2.3.5.tar.gz 2535036 SHA256 5e11d9d3a5fe3edc46af96aeec7e587746af873e0bf8dbf3482596e4c5cce383
diff --git a/www-apps/horde-turba/horde-turba-2.3.4.ebuild b/www-apps/horde-turba/horde-turba-2.3.4.ebuild
new file mode 100644
index 000000000000..be500f6c671e
--- /dev/null
+++ b/www-apps/horde-turba/horde-turba-2.3.4.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="-o mysql mysqli odbc postgres ldap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Turba is the Horde address book / contact management program"
+
+KEYWORDS="amd64 hppa ppc x86"
+IUSE="ldap"
+
+DEPEND=""
+RDEPEND=">=www-apps/horde-3
+ ldap? ( dev-php/PEAR-Net_LDAP )"
+
+src_unpack() {
+ horde_src_unpack
+
+ # Remove vcf specs as they don't install and are not useful to the end user
+ rm -r docs/vcf || die 'removing docs failed'
+}
diff --git a/www-apps/horde-turba/horde-turba-2.3.5.ebuild b/www-apps/horde-turba/horde-turba-2.3.5.ebuild
new file mode 100644
index 000000000000..be500f6c671e
--- /dev/null
+++ b/www-apps/horde-turba/horde-turba-2.3.5.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="-o mysql mysqli odbc postgres ldap"
+HORDE_MAJ="-h3"
+inherit horde
+
+DESCRIPTION="Turba is the Horde address book / contact management program"
+
+KEYWORDS="amd64 hppa ppc x86"
+IUSE="ldap"
+
+DEPEND=""
+RDEPEND=">=www-apps/horde-3
+ ldap? ( dev-php/PEAR-Net_LDAP )"
+
+src_unpack() {
+ horde_src_unpack
+
+ # Remove vcf specs as they don't install and are not useful to the end user
+ rm -r docs/vcf || die 'removing docs failed'
+}
diff --git a/www-apps/horde-turba/metadata.xml b/www-apps/horde-turba/metadata.xml
new file mode 100644
index 000000000000..f39fa43df11f
--- /dev/null
+++ b/www-apps/horde-turba/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<longdescription>
+Turba is the Horde contact management application. It is a production
+level address book, and makes heavy use of the Horde framework to
+provide integration with IMP and other Horde applications.
+
+Turba is a complete basic contact management application. SQL, LDAP, and
+Horde Preferences backends are available and are well tested. You can
+define the fields in your address books in a very flexible way, just by
+changing the config files. You can import/export from/to Pine, Mulberry,
+CSV, TSV, and vCard contacts. You can create distribution lists from
+your addressbooks, which are handled transparently by IMP and other
+Horde applications. And there are Horde API functions to add and search
+for contacts.
+
+Additional backends are easy to add - all you need to do is to implement
+a Turba_Driver subclass that implements a few simple methods and talks
+to your storage method of choice.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/horde/Manifest b/www-apps/horde/Manifest
new file mode 100644
index 000000000000..5e3f8d3bfab0
--- /dev/null
+++ b/www-apps/horde/Manifest
@@ -0,0 +1,2 @@
+DIST horde-3.3.11.tar.gz 8788320 RMD160 e5e80e47a564b69e8e5db8648614a4fc6f6e06fd SHA1 66710a5026d78e462422969b187e78ff52b04e34 SHA256 abc8f01f33655767303b70da44c90117f95ae37838e0371b46218e375eb7a760
+DIST horde-3.3.9.tar.gz 8848371 RMD160 cfcc418b8744c006a36ae573f82bb1937f489c3a SHA1 0633c9710a543e9d284c204aee15c223bc2ada51 SHA256 0c44beb11945d1f9032ad3ae041121ef1b67377cdda20bb8e11602b352641f77
diff --git a/www-apps/horde/horde-3.3.11.ebuild b/www-apps/horde/horde-3.3.11.ebuild
new file mode 100644
index 000000000000..137312bed2a8
--- /dev/null
+++ b/www-apps/horde/horde-3.3.11.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="session xml"
+
+inherit horde
+
+DESCRIPTION="Horde Application Framework"
+HOMEPAGE="http://www.horde.org/"
+
+KEYWORDS="alpha amd64 hppa ~ia64 ppc sparc x86"
+IUSE="mysql"
+
+DEPEND=""
+RDEPEND="dev-lang/php
+ >=sys-devel/gettext-0.10.40
+ >=dev-libs/libxml2-2.4.21
+ >=www-apps/horde-pear-1.3
+ dev-php/PEAR-Log
+ dev-php/PEAR-Mail_Mime
+ mysql? ( dev-php/PEAR-DB )"
+
+src_unpack() {
+ horde_src_unpack
+ cd "${S}"
+ chmod 600 scripts/sql/create.*.sql #137510
+}
+
+pkg_postinst() {
+ horde_pkg_postinst
+ elog "Horde requires PHP to have:"
+ elog " ==> 'short_open_tag enabled = On'"
+ elog " ==> 'magic_quotes_runtime set = Off'"
+ elog " ==> 'file_uploads enabled = On'"
+}
diff --git a/www-apps/horde/horde-3.3.9.ebuild b/www-apps/horde/horde-3.3.9.ebuild
new file mode 100644
index 000000000000..137312bed2a8
--- /dev/null
+++ b/www-apps/horde/horde-3.3.9.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+HORDE_PHP_FEATURES="session xml"
+
+inherit horde
+
+DESCRIPTION="Horde Application Framework"
+HOMEPAGE="http://www.horde.org/"
+
+KEYWORDS="alpha amd64 hppa ~ia64 ppc sparc x86"
+IUSE="mysql"
+
+DEPEND=""
+RDEPEND="dev-lang/php
+ >=sys-devel/gettext-0.10.40
+ >=dev-libs/libxml2-2.4.21
+ >=www-apps/horde-pear-1.3
+ dev-php/PEAR-Log
+ dev-php/PEAR-Mail_Mime
+ mysql? ( dev-php/PEAR-DB )"
+
+src_unpack() {
+ horde_src_unpack
+ cd "${S}"
+ chmod 600 scripts/sql/create.*.sql #137510
+}
+
+pkg_postinst() {
+ horde_pkg_postinst
+ elog "Horde requires PHP to have:"
+ elog " ==> 'short_open_tag enabled = On'"
+ elog " ==> 'magic_quotes_runtime set = Off'"
+ elog " ==> 'file_uploads enabled = On'"
+}
diff --git a/www-apps/horde/metadata.xml b/www-apps/horde/metadata.xml
new file mode 100644
index 000000000000..1f0aa4dd26bb
--- /dev/null
+++ b/www-apps/horde/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<longdescription>
+The Horde Application Framework is a general-purpose web application
+framework in PHP, providing classes for dealing with preferences,
+compression, browser detection, connection tracking, MIME handling, and
+more.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/horizon/Manifest b/www-apps/horizon/Manifest
new file mode 100644
index 000000000000..debd0c823190
--- /dev/null
+++ b/www-apps/horizon/Manifest
@@ -0,0 +1 @@
+DIST horizon-2014.1.3.tar.gz 3339100 SHA256 bc220a7cbaeec30681aa55d7eed91fa67505ce31cc1fc904f401ee5e07133997 SHA512 41c6fb097791ab39cde104e5532a0b05011db937421f9162696c0444d776b1beea3755c20e1531108cabf8713b1f43c2d8e76dc2e49ffc552fa0a2fdcb92ed3c WHIRLPOOL c6501d893295ef2202e75bb6a4958ac68862cda97ca49037617960f49344d212e39ab9e37e213d8f51f521baba586425f0d996cf53b4465a05517f40e069efa4
diff --git a/www-apps/horizon/horizon-2014.1.3.ebuild b/www-apps/horizon/horizon-2014.1.3.ebuild
new file mode 100644
index 000000000000..cd4e6ea5c56b
--- /dev/null
+++ b/www-apps/horizon/horizon-2014.1.3.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="A Django-based project aimed at providing a complete OpenStack Dashboard"
+HOMEPAGE="https://launchpad.net/horizon"
+SRC_URI="http://launchpad.net/${PN}/icehouse/${PV}/+download/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/pbr-0.6.0[${PYTHON_USEDEP}]
+ <dev-python/pbr-1.0[${PYTHON_USEDEP}]
+ test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
+ <dev-python/hacking-0.9[${PYTHON_USEDEP}]
+ >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
+ dev-python/django-nose[${PYTHON_USEDEP}]
+ ~dev-python/docutils-0.9.1[${PYTHON_USEDEP}]
+ >=dev-python/mox-0.5.3[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/nose-exclude[${PYTHON_USEDEP}]
+ >=dev-python/nosehtmloutput-0.0.3[${PYTHON_USEDEP}]
+ dev-python/nosexcover[${PYTHON_USEDEP}]
+ >=dev-python/openstack-nose-plugin-0.7[${PYTHON_USEDEP}]
+ dev-python/oslo-sphinx[${PYTHON_USEDEP}]
+ dev-python/selenium[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
+ <dev-python/sphinx-1.1.9999[${PYTHON_USEDEP}]
+ >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
+ )"
+RDEPEND=">=dev-python/django-1.4[${PYTHON_USEDEP}]
+ <dev-python/django-1.7[${PYTHON_USEDEP}]
+ >=dev-python/django-compressor-1.3[${PYTHON_USEDEP}]
+ >=dev-python/django-openstack-auth-1.1.4[${PYTHON_USEDEP}]
+ !~dev-python/django-openstack-auth-1.1.6[${PYTHON_USEDEP}]
+ >=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
+ >=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}]
+ >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
+ >=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]
+ >=dev-python/lesscpy-0.9j[${PYTHON_USEDEP}]
+ >=dev-python/lockfile-0.8[${PYTHON_USEDEP}]
+ >=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}]
+ >=dev-python/python-ceilometerclient-1.0.6[${PYTHON_USEDEP}]
+ >=dev-python/python-cinderclient-1.0.6[${PYTHON_USEDEP}]
+ >=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}]
+ >=dev-python/python-heatclient-0.2.3[${PYTHON_USEDEP}]
+ >=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}]
+ >=dev-python/python-neutronclient-2.3.4[${PYTHON_USEDEP}]
+ <dev-python/python-neutronclient-3[${PYTHON_USEDEP}]
+ >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]
+ >=dev-python/python-swiftclient-1.6[${PYTHON_USEDEP}]
+ >=dev-python/python-troveclient-1.0.3[${PYTHON_USEDEP}]
+ >=dev-python/pytz-2010h[${PYTHON_USEDEP}]
+ >=dev-python/six-1.6.0[${PYTHON_USEDEP}]"
+
+PATCHES=(
+)
+
+src_test() {
+ ./run_tests.sh -N --coverage
+}
diff --git a/www-apps/horizon/horizon-2014.1.9999.ebuild b/www-apps/horizon/horizon-2014.1.9999.ebuild
new file mode 100644
index 000000000000..230b073ebea8
--- /dev/null
+++ b/www-apps/horizon/horizon-2014.1.9999.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 git-2
+
+DESCRIPTION="A Django-based project aimed at providing a complete OpenStack Dashboard"
+HOMEPAGE="https://launchpad.net/horizon"
+EGIT_REPO_URI="https://github.com/openstack/horizon.git"
+EGIT_BRANCH="stable/icehouse"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/pbr-0.6.0[${PYTHON_USEDEP}]
+ <dev-python/pbr-1.0[${PYTHON_USEDEP}]
+ test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
+ <dev-python/hacking-0.9[${PYTHON_USEDEP}]
+ >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
+ dev-python/django-nose[${PYTHON_USEDEP}]
+ ~dev-python/docutils-0.9.1[${PYTHON_USEDEP}]
+ >=dev-python/mox-0.5.3[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/nose-exclude[${PYTHON_USEDEP}]
+ >=dev-python/nosehtmloutput-0.0.3[${PYTHON_USEDEP}]
+ dev-python/nosexcover[${PYTHON_USEDEP}]
+ >=dev-python/openstack-nose-plugin-0.7[${PYTHON_USEDEP}]
+ dev-python/oslo-sphinx[${PYTHON_USEDEP}]
+ dev-python/selenium[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
+ <dev-python/sphinx-1.1.9999[${PYTHON_USEDEP}]
+ >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
+ )"
+RDEPEND=">=dev-python/django-1.4[${PYTHON_USEDEP}]
+ <dev-python/django-1.7[${PYTHON_USEDEP}]
+ >=dev-python/django-compressor-1.3[${PYTHON_USEDEP}]
+ >=dev-python/django-openstack-auth-1.1.4[${PYTHON_USEDEP}]
+ !~dev-python/django-openstack-auth-1.1.6[${PYTHON_USEDEP}]
+ >=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
+ >=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}]
+ >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
+ >=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]
+ >=dev-python/lesscpy-0.9j[${PYTHON_USEDEP}]
+ >=dev-python/lockfile-0.8[${PYTHON_USEDEP}]
+ >=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}]
+ >=dev-python/python-ceilometerclient-1.0.6[${PYTHON_USEDEP}]
+ >=dev-python/python-cinderclient-1.0.6[${PYTHON_USEDEP}]
+ >=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}]
+ >=dev-python/python-heatclient-0.2.3[${PYTHON_USEDEP}]
+ >=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}]
+ >=dev-python/python-neutronclient-2.3.4[${PYTHON_USEDEP}]
+ <dev-python/python-neutronclient-3[${PYTHON_USEDEP}]
+ >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]
+ >=dev-python/python-swiftclient-1.6[${PYTHON_USEDEP}]
+ >=dev-python/python-troveclient-1.0.3[${PYTHON_USEDEP}]
+ >=dev-python/pytz-2010h[${PYTHON_USEDEP}]
+ >=dev-python/six-1.6.0[${PYTHON_USEDEP}]"
+
+PATCHES=(
+)
+
+src_test() {
+ ./run_tests.sh -N --coverage
+}
diff --git a/www-apps/horizon/horizon-9999.ebuild b/www-apps/horizon/horizon-9999.ebuild
new file mode 100644
index 000000000000..201b2f47f422
--- /dev/null
+++ b/www-apps/horizon/horizon-9999.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 git-2
+
+DESCRIPTION="A Django-based project aimed at providing a complete OpenStack Dashboard"
+HOMEPAGE="https://launchpad.net/horizon"
+EGIT_REPO_URI="https://github.com/openstack/horizon.git"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ >=dev-python/pbr-0.6.0[${PYTHON_USEDEP}]
+ <dev-python/pbr-1.0[${PYTHON_USEDEP}]
+ test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
+ <dev-python/hacking-0.9[${PYTHON_USEDEP}]
+ >=dev-python/coverage-3.6[${PYTHON_USEDEP}]
+ dev-python/django-nose[${PYTHON_USEDEP}]
+ ~dev-python/docutils-0.9.1[${PYTHON_USEDEP}]
+ >=dev-python/mox-0.5.3[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/nose-exclude[${PYTHON_USEDEP}]
+ >=dev-python/nosehtmloutput-0.0.3[${PYTHON_USEDEP}]
+ dev-python/nosexcover[${PYTHON_USEDEP}]
+ >=dev-python/openstack-nose-plugin-0.7[${PYTHON_USEDEP}]
+ dev-python/oslo-sphinx[${PYTHON_USEDEP}]
+ dev-python/selenium[${PYTHON_USEDEP}]
+ >=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
+ <dev-python/sphinx-1.2[${PYTHON_USEDEP}]
+ >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
+ )"
+RDEPEND=">=dev-python/django-1.4[${PYTHON_USEDEP}]
+ <dev-python/django-1.7[${PYTHON_USEDEP}]
+ >=dev-python/django-compressor-1.3[${PYTHON_USEDEP}]
+ >=dev-python/django-openstack-auth-1.1.4[${PYTHON_USEDEP}]
+ >=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
+ >=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}]
+ >=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
+ >=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]
+ >=dev-python/lesscpy-0.9j[${PYTHON_USEDEP}]
+ >=dev-python/lockfile-0.8[${PYTHON_USEDEP}]
+ >=dev-python/netaddr-0.7.6[${PYTHON_USEDEP}]
+ >=dev-python/python-ceilometerclient-1.0.6[${PYTHON_USEDEP}]
+ >=dev-python/python-cinderclient-1.0.6[${PYTHON_USEDEP}]
+ >=dev-python/python-glanceclient-0.9.0[${PYTHON_USEDEP}]
+ >=dev-python/python-heatclient-0.2.3[${PYTHON_USEDEP}]
+ >=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}]
+ >=dev-python/python-neutronclient-2.3.4[${PYTHON_USEDEP}]
+ <dev-python/python-neutronclient-3[${PYTHON_USEDEP}]
+ >=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]
+ >=dev-python/python-swiftclient-1.6[${PYTHON_USEDEP}]
+ >=dev-python/python-troveclient-1.0.3[${PYTHON_USEDEP}]
+ >=dev-python/pytz-2010h[${PYTHON_USEDEP}]
+ >=dev-python/six-1.5.2[${PYTHON_USEDEP}]"
+
+src_test() {
+ ./run_tests.sh -N --coverage
+}
diff --git a/www-apps/horizon/metadata.xml b/www-apps/horizon/metadata.xml
new file mode 100644
index 000000000000..55d8c795a551
--- /dev/null
+++ b/www-apps/horizon/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>openstack</herd>
+ <maintainer>
+ <email>prometheanfire@gentoo.org</email>
+ <name>Matthew Thode</name>
+ </maintainer>
+ <longdescription lang="en">
+ Horizon is a Django-based project aimed at providing a complete OpenStack
+ Dashboard along with an extensible framework for building new dashboards
+ from reusable components.
+ </longdescription>
+ <upstream>
+ <remote-id type="launchpad">horizon</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/ikiwiki/Manifest b/www-apps/ikiwiki/Manifest
new file mode 100644
index 000000000000..92bb0da6f4eb
--- /dev/null
+++ b/www-apps/ikiwiki/Manifest
@@ -0,0 +1,3 @@
+DIST ikiwiki_3.20140227.tar.gz 3186289 SHA256 2333636af56a9966640a9b2b0eb0b4b2293e6eec4376d619f641d1c088c677ad SHA512 00cfdeeaa2fd31fe2b75d5d9bafd9a62950df833592f840f376a7279368068081d1b8e7844e12bca9631d8a15a0c29c0bdaa85276fefc30b6d66b9d5a2e134eb WHIRLPOOL da7dbdb25d4ae8f2073505e74eb2a17aba693e4492b005dadda289acb3f9c5b5245a05168410bfca9f89f3f76c6854461f7f16439ee905c37a22332955e2a124
+DIST ikiwiki_3.20140916.tar.gz 3213411 SHA256 c0362be677cc8a825d0abf43dba6e86c7d74838dc73ecc8f390f2e3625d2dc16 SHA512 3bb01173a1c34ea3c24a3330ab827bf7e9029a830f13ee575cc66a9f421aa5838e613528dc4f2fc5c5bb8f217976d590f5f45ed812b0ad98abd174771bf5178f WHIRLPOOL d3f4a83c0d823dd0d6ab126d4965623a84c7fb1559513d7c29c8385aae11525d6ecef5afb26220da95271a8a148d5c5668e9d755020708ea0f15f702302b596d
+DIST ikiwiki_3.20150107.tar.gz 3285794 SHA256 6eef15e58da48ecb0510a38eaa196f48b192cd9b0ea91ec9a41b062ab4fee93f SHA512 14cc08f42b94245d2f6ba55b0f6d43fb32b55963c11079a26f02e8b3c3a5ec214ed41efa703d1f563fd2d1f306198d9cc03e37c6d4e54e22e2b466d402e15e88 WHIRLPOOL b025332613efb2fe19b2301465a78d0d4307dcf6bd37fa579d65d7fbf48ed1959a0f4d010508e8d4319e6a7b21d7178adc93226a4d3623181ef66706ec6defca
diff --git a/www-apps/ikiwiki/ikiwiki-3.20140227.ebuild b/www-apps/ikiwiki/ikiwiki-3.20140227.ebuild
new file mode 100644
index 000000000000..a3074d54689d
--- /dev/null
+++ b/www-apps/ikiwiki/ikiwiki-3.20140227.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit perl-module
+
+DESCRIPTION="A wiki compiler"
+HOMEPAGE="http://ikiwiki.info/"
+SRC_URI="mirror://debian/pool/main/i/ikiwiki/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="extras minimal test"
+KEYWORDS="~amd64 ~x86"
+
+S=${WORKDIR}/${PN}
+
+#Authen::Passphrase
+#Search::Xapian
+#Locale::gettext
+#Crypt::SSLeay
+#Text::CSV
+#Text::Typography
+#Text::Textile
+#Text::WikiFormat
+#Net::Amazon::S3
+
+EXTRA_RDEPEND="
+ dev-python/docutils
+ dev-perl/Digest-SHA1
+ dev-perl/File-MimeInfo
+ dev-perl/RPC-XML
+ dev-perl/XML-Feed
+ dev-perl/LWPx-ParanoidAgent
+ dev-perl/Net-OpenID-Consumer
+"
+
+SUGGESTED_RDEPEND="
+ dev-perl/CGI
+ >=dev-perl/CGI-FormBuilder-3.0202
+ >=dev-perl/CGI-Session-4.14
+ dev-perl/Mail-Sendmail
+ dev-perl/Term-ReadLine-Gnu
+ dev-perl/XML-Simple
+ media-gfx/imagemagick[perl]
+"
+
+TEST_DEPEND="
+ dev-perl/File-chdir
+ dev-perl/File-ReadBackwards
+ dev-perl/File-MimeInfo
+ dev-perl/HTML-LinkExtractor
+ dev-perl/HTML-Tree
+ dev-perl/Net-OpenID-Consumer
+ dev-perl/RPC-XML
+ dev-perl/XML-Feed
+ dev-perl/XML-Twig
+ dev-vcs/cvs[server]
+ dev-vcs/cvsps"
+
+DEPEND="
+ >=dev-lang/perl-5.10
+ app-text/po4a
+ dev-perl/HTML-Parser
+ dev-perl/HTML-Scrubber
+ dev-perl/HTML-Template
+ dev-perl/URI
+ dev-perl/Text-Markdown
+ dev-perl/TimeDate
+ dev-perl/YAML-LibYAML
+"
+
+RDEPEND="${DEPEND}
+ !minimal? (
+ ${SUGGESTED_RDEPEND}
+ extras? (
+ ${EXTRA_RDEPEND}
+ )
+ )
+"
+
+DEPEND="${DEPEND}
+ test? ( ${TEST_DEPEND} )"
+
+SRC_TEST=do
+
+src_prepare() {
+ #bug 498444 /usr/lib/plan9/lib/fortunes.index
+ addpredict "/usr/lib/plan9/lib/fortunes"
+
+ sed -i 's,lib/ikiwiki,libexec/ikiwiki,' \
+ "${S}"/{IkiWiki.pm,Makefile.PL,doc/plugins/install.mdwn} || die
+# if use w3m ; then
+ sed -i 's,lib/w3m,libexec/w3m,' "${S}"/Makefile.PL || die
+# else
+# sed -i '/w3m/d' "${S}"/Makefile.PL || die
+# fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" pure_install
+ insinto /etc/ikiwiki
+ doins wikilist
+
+ #insinto /usr/share/doc/${PF}/examples
+ #doins -r doc/examples/*
+ dohtml -r -A setup html/*
+ dodoc debian/{NEWS,changelog}
+}
diff --git a/www-apps/ikiwiki/ikiwiki-3.20140916.ebuild b/www-apps/ikiwiki/ikiwiki-3.20140916.ebuild
new file mode 100644
index 000000000000..a3074d54689d
--- /dev/null
+++ b/www-apps/ikiwiki/ikiwiki-3.20140916.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit perl-module
+
+DESCRIPTION="A wiki compiler"
+HOMEPAGE="http://ikiwiki.info/"
+SRC_URI="mirror://debian/pool/main/i/ikiwiki/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="extras minimal test"
+KEYWORDS="~amd64 ~x86"
+
+S=${WORKDIR}/${PN}
+
+#Authen::Passphrase
+#Search::Xapian
+#Locale::gettext
+#Crypt::SSLeay
+#Text::CSV
+#Text::Typography
+#Text::Textile
+#Text::WikiFormat
+#Net::Amazon::S3
+
+EXTRA_RDEPEND="
+ dev-python/docutils
+ dev-perl/Digest-SHA1
+ dev-perl/File-MimeInfo
+ dev-perl/RPC-XML
+ dev-perl/XML-Feed
+ dev-perl/LWPx-ParanoidAgent
+ dev-perl/Net-OpenID-Consumer
+"
+
+SUGGESTED_RDEPEND="
+ dev-perl/CGI
+ >=dev-perl/CGI-FormBuilder-3.0202
+ >=dev-perl/CGI-Session-4.14
+ dev-perl/Mail-Sendmail
+ dev-perl/Term-ReadLine-Gnu
+ dev-perl/XML-Simple
+ media-gfx/imagemagick[perl]
+"
+
+TEST_DEPEND="
+ dev-perl/File-chdir
+ dev-perl/File-ReadBackwards
+ dev-perl/File-MimeInfo
+ dev-perl/HTML-LinkExtractor
+ dev-perl/HTML-Tree
+ dev-perl/Net-OpenID-Consumer
+ dev-perl/RPC-XML
+ dev-perl/XML-Feed
+ dev-perl/XML-Twig
+ dev-vcs/cvs[server]
+ dev-vcs/cvsps"
+
+DEPEND="
+ >=dev-lang/perl-5.10
+ app-text/po4a
+ dev-perl/HTML-Parser
+ dev-perl/HTML-Scrubber
+ dev-perl/HTML-Template
+ dev-perl/URI
+ dev-perl/Text-Markdown
+ dev-perl/TimeDate
+ dev-perl/YAML-LibYAML
+"
+
+RDEPEND="${DEPEND}
+ !minimal? (
+ ${SUGGESTED_RDEPEND}
+ extras? (
+ ${EXTRA_RDEPEND}
+ )
+ )
+"
+
+DEPEND="${DEPEND}
+ test? ( ${TEST_DEPEND} )"
+
+SRC_TEST=do
+
+src_prepare() {
+ #bug 498444 /usr/lib/plan9/lib/fortunes.index
+ addpredict "/usr/lib/plan9/lib/fortunes"
+
+ sed -i 's,lib/ikiwiki,libexec/ikiwiki,' \
+ "${S}"/{IkiWiki.pm,Makefile.PL,doc/plugins/install.mdwn} || die
+# if use w3m ; then
+ sed -i 's,lib/w3m,libexec/w3m,' "${S}"/Makefile.PL || die
+# else
+# sed -i '/w3m/d' "${S}"/Makefile.PL || die
+# fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" pure_install
+ insinto /etc/ikiwiki
+ doins wikilist
+
+ #insinto /usr/share/doc/${PF}/examples
+ #doins -r doc/examples/*
+ dohtml -r -A setup html/*
+ dodoc debian/{NEWS,changelog}
+}
diff --git a/www-apps/ikiwiki/ikiwiki-3.20150107.ebuild b/www-apps/ikiwiki/ikiwiki-3.20150107.ebuild
new file mode 100644
index 000000000000..e9d8df5d8902
--- /dev/null
+++ b/www-apps/ikiwiki/ikiwiki-3.20150107.ebuild
@@ -0,0 +1,111 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit perl-module
+
+DESCRIPTION="A wiki compiler"
+HOMEPAGE="http://ikiwiki.info/"
+SRC_URI="mirror://debian/pool/main/i/ikiwiki/${PN}_${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="extras minimal test"
+KEYWORDS="~amd64"
+
+S=${WORKDIR}/${PN}
+
+#Authen::Passphrase
+#Search::Xapian
+#Locale::gettext
+#Crypt::SSLeay
+#Text::CSV
+#Text::Typography
+#Text::Textile
+#Text::WikiFormat
+#Net::Amazon::S3
+
+EXTRA_RDEPEND="
+ dev-python/docutils
+ dev-perl/Digest-SHA1
+ dev-perl/File-MimeInfo
+ dev-perl/RPC-XML
+ dev-perl/XML-Feed
+ dev-perl/LWPx-ParanoidAgent
+ dev-perl/Net-OpenID-Consumer
+"
+
+SUGGESTED_RDEPEND="
+ dev-perl/CGI
+ >=dev-perl/CGI-FormBuilder-3.0202
+ >=dev-perl/CGI-Session-4.14
+ dev-perl/Mail-Sendmail
+ dev-perl/Term-ReadLine-Gnu
+ dev-perl/XML-Simple
+ media-gfx/imagemagick[perl]
+"
+
+TEST_DEPEND="
+ dev-perl/File-chdir
+ dev-perl/File-ReadBackwards
+ dev-perl/File-MimeInfo
+ dev-perl/HTML-LinkExtractor
+ dev-perl/HTML-Tree
+ dev-perl/Net-OpenID-Consumer
+ dev-perl/RPC-XML
+ dev-perl/XML-Feed
+ dev-perl/XML-Twig
+ dev-vcs/cvs[server]
+ dev-vcs/cvsps"
+
+DEPEND="
+ >=dev-lang/perl-5.10
+ app-text/po4a
+ dev-perl/HTML-Parser
+ dev-perl/HTML-Scrubber
+ dev-perl/HTML-Template
+ dev-perl/URI
+ dev-perl/Text-Markdown
+ dev-perl/TimeDate
+ dev-perl/YAML-LibYAML
+"
+
+RDEPEND="${DEPEND}
+ !minimal? (
+ ${SUGGESTED_RDEPEND}
+ extras? (
+ ${EXTRA_RDEPEND}
+ )
+ )
+"
+
+DEPEND="${DEPEND}
+ test? ( ${TEST_DEPEND} )"
+
+SRC_TEST=do
+
+src_prepare() {
+ #bug 498444 /usr/lib/plan9/lib/fortunes.index
+ addpredict "/usr/lib/plan9/lib/fortunes"
+
+ sed -i 's,lib/ikiwiki,libexec/ikiwiki,' \
+ "${S}"/{IkiWiki.pm,Makefile.PL,doc/plugins/install.mdwn} || die
+# if use w3m ; then
+ sed -i 's,lib/w3m,libexec/w3m,' "${S}"/Makefile.PL || die
+# else
+# sed -i '/w3m/d' "${S}"/Makefile.PL || die
+# fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" pure_install
+ insinto /etc/ikiwiki
+ doins wikilist
+
+ #insinto /usr/share/doc/${PF}/examples
+ #doins -r doc/examples/*
+ dohtml -r -A setup html/*
+ dodoc debian/{NEWS,changelog}
+}
diff --git a/www-apps/ikiwiki/metadata.xml b/www-apps/ikiwiki/metadata.xml
new file mode 100644
index 000000000000..51f52046c933
--- /dev/null
+++ b/www-apps/ikiwiki/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>
+ <email>alicef@gentoo.org</email>
+ <name>Alice Ferrazzi</name>
+ <description>Assign bugs to me.</description>
+</maintainer>
+<maintainer>
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ <description>CC him on bugs.</description>
+</maintainer>
+<use>
+ <flag name="extras">Installs additional modules used by ikiwiki plugins</flag>
+</use>
+</pkgmetadata>
diff --git a/www-apps/jekyll-coffeescript/Manifest b/www-apps/jekyll-coffeescript/Manifest
new file mode 100644
index 000000000000..833a814543b7
--- /dev/null
+++ b/www-apps/jekyll-coffeescript/Manifest
@@ -0,0 +1 @@
+DIST jekyll-coffeescript-1.0.1.tar.gz 5206 SHA256 3d158308aabe670c1f58dc55dc8ce5eb7ff80cc83684e152c12816517303660a SHA512 88c73c2393dff2b9dc8aac2329f6e669f98c66c5d1b7ee2a4dc2236608197a3bfdc07bd4a67832c94f4059e4c82212b2b14c4f37b48957e4b40c9d2449c7c482 WHIRLPOOL 0a474eeac58c9e5fbb49aff067bfb26c26d8588b4e05aa03a656a4a72024e29cd09838c34d425fbc279ed2583818de409ab153a297b7bfd6a00e03fa844dd1f3
diff --git a/www-apps/jekyll-coffeescript/jekyll-coffeescript-1.0.1.ebuild b/www-apps/jekyll-coffeescript/jekyll-coffeescript-1.0.1.ebuild
new file mode 100644
index 000000000000..6bda22fd827f
--- /dev/null
+++ b/www-apps/jekyll-coffeescript/jekyll-coffeescript-1.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_EXTRADOC="README.md History.markdown"
+RUBY_FAKEGEM_TASK_DOC=""
+
+inherit ruby-fakegem
+
+SRC_URI="https://github.com/jekyll/jekyll-coffeescript/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+DESCRIPTION="A CoffeeScript Converter for Jekyll"
+HOMEPAGE="https://github.com/jekyll/jekyll-coffeescript"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/d' Rakefile || die
+ sed -i -e "/^RSpec/i \
+ require 'jekyll'"\
+ -e "/^RSpec/i \
+ require 'jekyll-coffeescript'" spec/spec_helper.rb || die
+}
+
+ruby_add_rdepend "dev-ruby/coffee-script"
+ruby_add_bdepend "test? ( www-apps/jekyll )"
diff --git a/www-apps/jekyll-coffeescript/metadata.xml b/www-apps/jekyll-coffeescript/metadata.xml
new file mode 100644
index 000000000000..bd119c5459f3
--- /dev/null
+++ b/www-apps/jekyll-coffeescript/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>
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jekyll/jekyll-coffeescript</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/jekyll-gist/Manifest b/www-apps/jekyll-gist/Manifest
new file mode 100644
index 000000000000..dd2cf5860034
--- /dev/null
+++ b/www-apps/jekyll-gist/Manifest
@@ -0,0 +1 @@
+DIST jekyll-gist-1.3.0.tar.gz 4937 SHA256 a23925ccf035dcc0d5e365c3e7481374321a84fdd46afbc809e07795f234022b SHA512 0ecda5c790cfcb58c589b4161b0b8ff9103de16a6b14c6de08222cd026af9a136a24221cbddc048743e267e25471c9299502c650e29a7ce47ee56625ac9f1365 WHIRLPOOL 701f181487d3fe3c8fc67d3b59d0bbf6bc2c7184365dd0d769962617a263fea9eaebf1674aba6c0627e5410946d198505b587a2a069ac37f7d28e2738a72b615
diff --git a/www-apps/jekyll-gist/jekyll-gist-1.3.0.ebuild b/www-apps/jekyll-gist/jekyll-gist-1.3.0.ebuild
new file mode 100644
index 000000000000..14eb376d9fb4
--- /dev/null
+++ b/www-apps/jekyll-gist/jekyll-gist-1.3.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md History.markdown"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Liquid tag for displaying GitHub Gists in Jekyll sites"
+HOMEPAGE="https://github.com/jekyll/jekyll-gist"
+SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( >=www-apps/jekyll-2 )"
+
+all_ruby_prepare() {
+ rm Rakefile || die
+}
diff --git a/www-apps/jekyll-gist/metadata.xml b/www-apps/jekyll-gist/metadata.xml
new file mode 100644
index 000000000000..8fbf833f2885
--- /dev/null
+++ b/www-apps/jekyll-gist/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>
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jekyll/jekyll-gist</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/jekyll-paginate/Manifest b/www-apps/jekyll-paginate/Manifest
new file mode 100644
index 000000000000..b402393d7792
--- /dev/null
+++ b/www-apps/jekyll-paginate/Manifest
@@ -0,0 +1 @@
+DIST jekyll-paginate-1.1.0.tar.gz 7604 SHA256 5a231d5239649a1463f1a18378f4bb333743b1e2cea2497d1a34df850d9b64ba SHA512 aecd54ede67adfabd474aee08dd18cc403dc21f6e4630de001db32ea07808e7a025258c5e8721f381586de4b7037a6093f8fc77c45d077f1fb69bc7531f2bc57 WHIRLPOOL b7b09347ea31c5ca4fceaf398920e3641fcb940a98ae2c99d7da13e972508c5d8ed32c840ba417be6f84266f66ca7414e4440f550b368c6bd94e0a1f34e2f8d2
diff --git a/www-apps/jekyll-paginate/jekyll-paginate-1.1.0.ebuild b/www-apps/jekyll-paginate/jekyll-paginate-1.1.0.ebuild
new file mode 100644
index 000000000000..0da6b8f08ac5
--- /dev/null
+++ b/www-apps/jekyll-paginate/jekyll-paginate-1.1.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Default pagination generator for Jekyll"
+HOMEPAGE="https://github.com/jekyll/jekyll-paginate"
+SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( >=www-apps/jekyll-2 )"
+
+all_ruby_prepare() {
+ rm Rakefile || die
+ sed -i -e "s/truthy/true/" -e "s/falsey/false/" spec/pager_spec.rb || die
+ # Remove unkown options until Rspec3 is in tree
+ sed -i -e "/expectations.include_chain_clauses_in_custom_matcher_descriptions/d"\
+ -e "/verify_partial_doubles/d" -e "/disable_monkey_patching!/d" spec/spec_helper.rb || die
+}
diff --git a/www-apps/jekyll-paginate/metadata.xml b/www-apps/jekyll-paginate/metadata.xml
new file mode 100644
index 000000000000..d4d9a3671426
--- /dev/null
+++ b/www-apps/jekyll-paginate/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>
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jekyll/jekyll-paginate</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/jekyll-sass-converter/Manifest b/www-apps/jekyll-sass-converter/Manifest
new file mode 100644
index 000000000000..89c8aea468e0
--- /dev/null
+++ b/www-apps/jekyll-sass-converter/Manifest
@@ -0,0 +1 @@
+DIST jekyll-sass-converter-1.3.0.tar.gz 7272 SHA256 a036da688c95ada34749435396dbae81909a43714d41737c9a59d6bc2cbadf21 SHA512 5382224d0d20a3772ff280710a0fa1d3cf2d2946cad54031da51467f1d1ea880f60266c12a4575c6015d0b455bbefd665b719b67dd721f35c610c6a73ecefd24 WHIRLPOOL 7add5b8279ac6b0bce9caf89476c1f0746426cb34007655158f24d5ba1718475cb59d33cbcc33880a2cf4227d1917845acada2c0427a453195e0a8fc3c3400ef
diff --git a/www-apps/jekyll-sass-converter/jekyll-sass-converter-1.3.0.ebuild b/www-apps/jekyll-sass-converter/jekyll-sass-converter-1.3.0.ebuild
new file mode 100644
index 000000000000..23ec54d2393e
--- /dev/null
+++ b/www-apps/jekyll-sass-converter/jekyll-sass-converter-1.3.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md History.markdown"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A basic Sass converter for Jekyll"
+HOMEPAGE="https://github.com/jekyll/jekyll-sass-converter"
+SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/sass-3.2"
+ruby_add_bdepend "test? ( >=www-apps/jekyll-2 )"
+
+all_ruby_prepare() {
+ # Fix tests until rspec:3 is in tree.
+ sed -i -e "s/truthy/true/" -e "s/falsey/false/" spec/scss_converter_spec.rb spec/sass_converter_spec.rb || die
+}
diff --git a/www-apps/jekyll-sass-converter/metadata.xml b/www-apps/jekyll-sass-converter/metadata.xml
new file mode 100644
index 000000000000..85f5da910996
--- /dev/null
+++ b/www-apps/jekyll-sass-converter/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>
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jekyll/jekyll-sass-converter</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/jekyll-sitemap/Manifest b/www-apps/jekyll-sitemap/Manifest
new file mode 100644
index 000000000000..df5bc3ef257b
--- /dev/null
+++ b/www-apps/jekyll-sitemap/Manifest
@@ -0,0 +1 @@
+DIST jekyll-sitemap-0.8.1.tar.gz 62835 SHA256 f3d0e31d5818f2ce7a39d27eb99229cec7c9e706229878ec248b6c284776802a SHA512 2c0f3ce740deaa66018e6bfd80a5d293feeb70128926d2b6626e837b2d6becf01151f4a13cbf264279b4bd8b2972019a9facdaf5ce4fc54d3dbec1a1c304439b WHIRLPOOL 001720e21a87c07139d5c0d7c029c1858ef5e8f97dc24bd9880f60cd8ca980ac85dd0e7a0f32a1a0aeb3a2d6e3fc36561c93fbb3eb79c5dd8807307ec3324e7c
diff --git a/www-apps/jekyll-sitemap/jekyll-sitemap-0.8.1.ebuild b/www-apps/jekyll-sitemap/jekyll-sitemap-0.8.1.ebuild
new file mode 100644
index 000000000000..370a759298c6
--- /dev/null
+++ b/www-apps/jekyll-sitemap/jekyll-sitemap-0.8.1.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md History.markdown"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Automatically generate a sitemap.xml for your Jekyll site"
+HOMEPAGE="https://github.com/jekyll/jekyll-sitemap"
+SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_bdepend "test? ( >=www-apps/jekyll-2 )"
diff --git a/www-apps/jekyll-sitemap/metadata.xml b/www-apps/jekyll-sitemap/metadata.xml
new file mode 100644
index 000000000000..6f4e60144a48
--- /dev/null
+++ b/www-apps/jekyll-sitemap/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>
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jekyll/jekyll-sitemap</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/jekyll-watch/Manifest b/www-apps/jekyll-watch/Manifest
new file mode 100644
index 000000000000..9bd80c86e5ac
--- /dev/null
+++ b/www-apps/jekyll-watch/Manifest
@@ -0,0 +1 @@
+DIST jekyll-watch-1.2.1.tar.gz 13660 SHA256 7641a8f4eb5a281ae0ff6f5553882b40ad95bd663136bc802036a3f3110e97fd SHA512 69fabe7ef01f2bbcf81e0ba0ce4e62d6999ff1a1da1b8dc254e364dc61af2bf6989f1f1ac8da6b2da7991e1972813b7c509fb0cb23558f16536b8f68fa57f62c WHIRLPOOL 2c082ce9bd703e639170f6b4ee781c3ebe8dad8e59f1cb0fdc690fb4136b4432368a53095f7455728fed4e6b44b0ae1d467dd26cc0acf8a7713b582fc3703c25
diff --git a/www-apps/jekyll-watch/jekyll-watch-1.2.1.ebuild b/www-apps/jekyll-watch/jekyll-watch-1.2.1.ebuild
new file mode 100644
index 000000000000..0c71aa098cb7
--- /dev/null
+++ b/www-apps/jekyll-watch/jekyll-watch-1.2.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md History.markdown"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Rebuild your Jekyll site when a file changes with the --watch switch"
+HOMEPAGE="https://github.com/jekyll/jekyll-watch"
+SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/listen-2.7"
+ruby_add_bdepend "test? ( >=www-apps/jekyll-2 )"
+
+all_ruby_prepare() {
+ rm Rakefile || die
+ # Fix tests until Rspec:3 is in tree
+ sed -i -e "/default_formatter/d" -e "/verify_partial_doubles/d" spec/spec_helper.rb || die
+}
diff --git a/www-apps/jekyll-watch/metadata.xml b/www-apps/jekyll-watch/metadata.xml
new file mode 100644
index 000000000000..1bf922dc3165
--- /dev/null
+++ b/www-apps/jekyll-watch/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>
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jekyll/jekyll-watch</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/jekyll/Manifest b/www-apps/jekyll/Manifest
new file mode 100644
index 000000000000..2e6a709b686e
--- /dev/null
+++ b/www-apps/jekyll/Manifest
@@ -0,0 +1 @@
+DIST jekyll-2.5.3.tar.gz 757248 SHA256 51316d48c3b12a6753a66655e1c7676f2c1014f0b50ccff6bf53002d5934b93d SHA512 28dc09ec9e758fbd2637df9e2adbd139af77799ace6af32d1ae4834ac9fb08e1a10f286a274a5faa589a37451fac5e8187cd219950be36c0e9b8bbdcbfd31285 WHIRLPOOL f8c1a43be364893b811e8a23e4aacf032d17e0dce01d8a253a2ed05f008141cc99181cd5c8922307d296804b961880ba29a839b3c263856d040160f80ac81771
diff --git a/www-apps/jekyll/jekyll-2.5.3.ebuild b/www-apps/jekyll/jekyll-2.5.3.ebuild
new file mode 100644
index 000000000000..2f4079bafb2e
--- /dev/null
+++ b/www-apps/jekyll/jekyll-2.5.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21"
+
+inherit ruby-fakegem
+
+RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.markdown README.markdown History.markdown"
+RUBY_FAKEGEM_EXTRAINSTALL="features site"
+
+DESCRIPTION="A simple, blog aware, static site generator"
+HOMEPAGE="http://jekyllrb.com http://github.com/jekyll/jekyll"
+SRC_URI="https://github.com/jekyll/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_rdepend "dev-ruby/classifier-reborn
+ dev-ruby/colorator
+ >=dev-ruby/kramdown-1.3
+ >=dev-ruby/liquid-2.6.1:0
+ >=dev-ruby/mercenary-0.3.3
+ >=dev-ruby/pygments_rb-0.6.0
+ >=dev-ruby/redcarpet-3.1
+ >=dev-ruby/safe_yaml-1
+ dev-ruby/toml
+ www-apps/jekyll-coffeescript
+ www-apps/jekyll-gist
+ www-apps/jekyll-paginate
+ www-apps/jekyll-sass-converter
+ www-apps/jekyll-watch"
+
+ruby_add_bdepend "test? (
+ dev-ruby/activesupport:3.2
+ dev-ruby/launchy
+ >=dev-ruby/maruku-0.7
+ dev-ruby/mime-types:0
+ =dev-ruby/rdiscount-1.6*
+ >=dev-ruby/redcloth-4.2.1
+ >=dev-ruby/rouge-1.7
+ dev-ruby/rr
+ >=dev-ruby/shoulda-3
+ dev-ruby/test-unit:2 )"
+
+all_ruby_prepare() {
+ sed -i -e "/simplecov/,+5d" test/helper.rb || die
+ sed -i -e "1igem 'test-unit'" test/helper.rb || die
+ # Drop bundler
+ sed -i -e "/self.class.require_from_bundler/d" lib/jekyll/plugin_manager.rb || die
+ # This test fails without bundler
+ rm test/test_plugin_manager.rb || die
+}
diff --git a/www-apps/jekyll/metadata.xml b/www-apps/jekyll/metadata.xml
new file mode 100644
index 000000000000..159cb86f6181
--- /dev/null
+++ b/www-apps/jekyll/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>
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">jekyll/jekyll</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/joomla/Manifest b/www-apps/joomla/Manifest
new file mode 100644
index 000000000000..ee43319b268e
--- /dev/null
+++ b/www-apps/joomla/Manifest
@@ -0,0 +1 @@
+DIST Joomla_3.4.1-Stable-Full_Package.tar.bz2 6452772 SHA256 fc31a37e0b27072b410940657b5e06f0d7f75cd4ee1c3f4ae940623fec823842 SHA512 0b785fcb9f06cc294685e732cf18aeb6b2a7210b500586452650220b83f6bd68ec1c3d3c667b4ffbe95720d1454b21fdf4a3396ad0ab39b8c73c03b09af80a5d WHIRLPOOL 868a412bf2e7a6157fc9b2dfaecb7e3e9c2e2594658b844caa3675c4eaf4595da597b099d09252867527cc2d01b617ef7d80ae0ec2527ce6744a156eb89516cc
diff --git a/www-apps/joomla/files/postinstall-en.txt b/www-apps/joomla/files/postinstall-en.txt
new file mode 100644
index 000000000000..8f940d6dc2c0
--- /dev/null
+++ b/www-apps/joomla/files/postinstall-en.txt
@@ -0,0 +1,29 @@
+You are almost done!
+
+ 0. Make sure your database server is initialized and started,
+ and that you have the login details of a user who can create a database.
+
+ 1. Login on http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
+ and finish the installation.
+
+ If the installation hangs, you might want to modify your php.ini:
+
+ max_execution_time = 3000 ;
+ memory_limit=128M ;
+
+ 2. Move into the directory where you installed Joomla and remove
+ the "installation" folder:
+
+ # cd ${MY_INSTALLDIR}
+ # rm -rf installation
+
+ 3. You can now launch your browser and point it to your Joomla site e.g.
+
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR} -> Main Site
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/administrator -> Admin
+
+ You can log into the administration view using the username 'admin'
+ along with the password that was generated or you chose during the
+ web based installation.
+
+ Enjoy Joomla!
diff --git a/www-apps/joomla/files/postinstall-sv.txt b/www-apps/joomla/files/postinstall-sv.txt
new file mode 100644
index 000000000000..4c1f7060bc69
--- /dev/null
+++ b/www-apps/joomla/files/postinstall-sv.txt
@@ -0,0 +1,26 @@
+Du är nästan klar!
+
+ 0. Se till att du har installerat och startat en databasserver,
+ och att du har en användare som får skapa databaser.
+
+ 1. Surfa in på http://${VHOST_HOSTNAME}/${VHOST_APPDIR}
+ för att slutföra installationen.
+
+ Om installationen hänger sig, kan det vara en idé att ändra php.ini så här:
+
+ max_execution_time = 3000 ;
+ memory_limit=128M ;
+
+ 2. Ta bort installationsmappen:
+
+ # cd ${MY_INSTALLDIR}
+ # rm -rf installation
+
+ 3. Surfa in på din nya Joomla sida:
+
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR} -> Main Site
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/administrator -> Admin
+
+ Logga in till adminvyn med användarnamn 'admin' och det lösenord som du valt under installationsprocessen ovan.
+
+
diff --git a/www-apps/joomla/joomla-3.4.1.ebuild b/www-apps/joomla/joomla-3.4.1.ebuild
new file mode 100644
index 000000000000..3e341293ad71
--- /dev/null
+++ b/www-apps/joomla/joomla-3.4.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit webapp versionator
+
+MY_PV=$(replace_version_separator '_' '-')
+
+DESCRIPTION="Joomla is a powerful Open Source Content Management System"
+HOMEPAGE="http://www.joomla.org/"
+SRC_URI="https://github.com/joomla/joomla-cms/releases/download/${MY_PV}/Joomla_${MY_PV}-Stable-Full_Package.tar.bz2"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+
+S="${WORKDIR}"
+need_httpd_cgi
+
+DEPEND="${DEPEND}
+ app-arch/unzip"
+RDEPEND=">=dev-lang/php-5.3.10[json,zlib,xml]
+ virtual/httpd-php
+ || ( dev-lang/php[mysql] dev-lang/php[postgres] )"
+
+src_install () {
+ webapp_src_preinst
+
+ touch configuration.php
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ local files=" administrator/cache administrator/components
+ administrator/language administrator/language/en-GB
+ administrator/manifests/packages
+ administrator/modules administrator/templates cache components images installation
+ images/banners language language/en-GB media modules plugins
+ plugins/authentication plugins/content plugins/editors plugins/editors-xtd
+ plugins/search plugins/system plugins/user plugins tmp templates"
+
+ for file in ${files}; do
+ webapp_serverowned -R "${MY_HTDOCSDIR}"/${file}
+ done
+
+ webapp_configfile "${MY_HTDOCSDIR}"/configuration.php
+ webapp_serverowned "${MY_HTDOCSDIR}"/configuration.php
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_postinst_txt sv "${FILESDIR}"/postinstall-sv.txt
+ webapp_src_install
+}
diff --git a/www-apps/joomla/metadata.xml b/www-apps/joomla/metadata.xml
new file mode 100644
index 000000000000..d0b641761e7e
--- /dev/null
+++ b/www-apps/joomla/metadata.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <herd>proxy-maintainers</herd>
+ <maintainer>
+ <email>harold@alum.mit.edu</email>
+ <name>Harold Naparst</name>
+ <description>Primary Maintainer, Assign bugs</description>
+ </maintainer>
+ <maintainer>
+ <email>oli.huber@gmail.com</email>
+ <name>Olivier Huber</name>
+ <description>Co Maintainer, CC bugs</description>
+ </maintainer>
+ <maintainer>
+ <email>fauli@gentoo.org</email>
+ <name>Christian Faulhammer</name>
+ </maintainer>
+ <longdescription lang="en">
+ Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications.
+ </longdescription>
+ <upstream>
+ <doc lang="en">http://docs.joomla.org</doc>
+ <remote-id type="github">joomla/joomla-cms</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/kibana-bin/Manifest b/www-apps/kibana-bin/Manifest
new file mode 100644
index 000000000000..e94bca76b59b
--- /dev/null
+++ b/www-apps/kibana-bin/Manifest
@@ -0,0 +1,2 @@
+DIST kibana-4.0.3-linux-x64.tar.gz 14331227 SHA256 320a43ed11f8f3f95709ceaec11ef8192c9bc2e64ea73a5f973b43aa8a422922 SHA512 745faffd9d8d67d6322f64223b829eb8eff4fba5d2f435a72b0c52c64e1578f0f5e741285c20904b6215d0c8da2cc5833fead86fc519bb4fdc51e8d51a18c465 WHIRLPOOL 2e67b9ba702ff78b9e775517333739cb96ad7dc88ab413768b897374f5ec25daa3b861f420b54451906231eca0ce5558306613a6597a7c85d340d897da0a0a08
+DIST kibana-4.1.1-linux-x64.tar.gz 11676499 SHA256 6f42d25f337fd49f38e2af81b9ab6e0c987a199a8c0b2e1410d072f812cb4520 SHA512 d72f235704e2a85b4d993f55550b5d8b6de049f05f4ff7781e122af65fca88d3966db188a8bbc877928751aacd69f8ecf4c412cd05bfa88d1a9e785fa952aeed WHIRLPOOL a60321cf7ae511dd03c2099b61ea0fe5abb479b264842150a84d6791e8b9ba6682dc1c95059800a8cf714898350ec533440eb43240fa78491836fa3b7d6ef23d
diff --git a/www-apps/kibana-bin/files/kibana.initd b/www-apps/kibana-bin/files/kibana.initd
new file mode 100644
index 000000000000..9effc545218e
--- /dev/null
+++ b/www-apps/kibana-bin/files/kibana.initd
@@ -0,0 +1,39 @@
+#!/sbin/runscript
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+command="/opt/kibana/bin/kibana"
+pidfile="/run/kibana.pid"
+KIBANA_USER=${KIBANA_USER:="kibana"}
+
+depend() {
+ need elasticsearch
+}
+
+start() {
+ ebegin "Starting ${SVCNAME}"
+
+ checkpath -d -o "${KIBANA_USER}" -m750 "/var/log/kibana"
+
+ start-stop-daemon --start \
+ --user $KIBANA_USER \
+ --background \
+ --make-pidfile \
+ --pidfile $pidfile \
+ --stdout /var/log/kibana/kibana.log \
+ --stderr /var/log/kibana/kibana.err \
+ --exec $command
+
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ${SVCNAME}"
+
+ start-stop-daemon --stop \
+ --pidfile $pidfile
+
+
+ eend $?
+}
diff --git a/www-apps/kibana-bin/files/kibana.initd-r1 b/www-apps/kibana-bin/files/kibana.initd-r1
new file mode 100644
index 000000000000..3fdcec648c8e
--- /dev/null
+++ b/www-apps/kibana-bin/files/kibana.initd-r1
@@ -0,0 +1,18 @@
+#!/sbin/openrc-run
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+KIBANA_USER=${KIBANA_USER:-kibana}
+
+command="/opt/kibana/bin/kibana"
+pidfile="/run/kibana.pid"
+command_background="true"
+start_stop_daemon_args="--user=\"${KIBANA_USER}\" --stdout /var/log/kibana/kibana.log --stderr /var/log/kibana/kibana.err"
+
+depend() {
+ need elasticsearch
+}
+
+start_pre() {
+ checkpath -d -o "${KIBANA_USER}" -m750 "/var/log/kibana"
+}
diff --git a/www-apps/kibana-bin/kibana-bin-4.0.3.ebuild b/www-apps/kibana-bin/kibana-bin-4.0.3.ebuild
new file mode 100644
index 000000000000..ee1c13e71b72
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-4.0.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit user
+
+MY_PN="kibana"
+MY_P=${MY_PN}-${PV/_rc/-rc}
+
+DESCRIPTION="visualize logs and time-stamped data"
+HOMEPAGE="http://www.elasticsearch.org/overview/kibana/"
+SRC_URI="https://download.elasticsearch.org/${MY_PN}/${MY_PN}/${MY_P}-linux-x64.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=app-misc/elasticsearch-1.4.4"
+
+RESTRICT="strip"
+QA_PREBUILT="opt/kibana/node/bin/node"
+
+S="${WORKDIR}/${MY_P}-linux-x64"
+
+pkg_setup() {
+ enewgroup ${MY_PN}
+ enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
+}
+
+src_install() {
+ keepdir /opt/${MY_PN}
+ keepdir /var/log/${MY_PN}
+
+ newinitd "${FILESDIR}"/kibana.initd "${MY_PN}"
+
+ mv * "${D}/opt/${MY_PN}"
+}
diff --git a/www-apps/kibana-bin/kibana-bin-4.1.1.ebuild b/www-apps/kibana-bin/kibana-bin-4.1.1.ebuild
new file mode 100644
index 000000000000..4ee1ab1c47ad
--- /dev/null
+++ b/www-apps/kibana-bin/kibana-bin-4.1.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit user
+
+MY_PN="kibana"
+MY_P=${MY_PN}-${PV/_rc/-rc}
+
+DESCRIPTION="visualize logs and time-stamped data"
+HOMEPAGE="https://www.elastic.co/products/kibana"
+SRC_URI="https://download.elastic.co/${MY_PN}/${MY_PN}/${MY_P}-linux-x64.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=app-misc/elasticsearch-1.4.4"
+
+RESTRICT="strip"
+QA_PREBUILT="opt/kibana/node/bin/node"
+
+S="${WORKDIR}/${MY_P}-linux-x64"
+
+pkg_setup() {
+ enewgroup ${MY_PN}
+ enewuser ${MY_PN} -1 -1 /opt/${MY_PN} ${MY_PN}
+}
+
+src_install() {
+ keepdir /opt/${MY_PN}
+ keepdir /var/log/${MY_PN}
+
+ newinitd "${FILESDIR}"/kibana.initd-r1 "${MY_PN}"
+
+ mv * "${D}/opt/${MY_PN}"
+}
diff --git a/www-apps/kibana-bin/metadata.xml b/www-apps/kibana-bin/metadata.xml
new file mode 100644
index 000000000000..cf1b4281a444
--- /dev/null
+++ b/www-apps/kibana-bin/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>
+ <email>idella4@gentoo.org</email>
+ </maintainer>
+ <maintainer>
+ <email>hydrapolic@gmail.com</email>
+ <name>Tomas Mozes</name>
+ <description>Proxy maintainer</description>
+ </maintainer>
+</pkgmetadata>
diff --git a/www-apps/liquid_feedback_core/Manifest b/www-apps/liquid_feedback_core/Manifest
new file mode 100644
index 000000000000..3075cda00803
--- /dev/null
+++ b/www-apps/liquid_feedback_core/Manifest
@@ -0,0 +1,3 @@
+DIST liquid_feedback_core-v2.2.3.tar.gz 124770 SHA256 51884d4aea59f7bde407aed5e75129fa63e6630cbddac9e4daa1937ea91eed9d SHA512 a87af2b4ba218289b679a1ffb5751d29eed0d368233e431123c8ce98c1eab5bf62f516e4beb3177ecb302c9062c86b6f908cff3155783dcfcb2d279804079a87 WHIRLPOOL 8d4733b853f0d61ddf5bae61ce02d29455bddd79bb08ca93b79e954b51a111ac59665d8e42ff4ddf8574564fb0d5f10c78b81cd1b0585bd959bdbf47dc90d9e3
+DIST liquid_feedback_core-v2.2.6.tar.gz 127440 SHA256 d57f797e8539d253859971fdcce9853c5db31ab3e6b6288a416e6590522f5dc8 SHA512 6f680398a7d2e529e642dc94ba16bc1b33d25459ddbf629c06387391ef13c0e212a108cc337cd2bc29505f4f6436b6e92994e63eaa09fe1c07733d2821d9b7f1 WHIRLPOOL 8e44997655b03182ab830e87122244339923972c16cdfc2f2958179cb57ea991b9a3e049d49380e2eaf4b5e20d7fc647cbcb5f4059450eb98ae32b27a201bc3b
+DIST liquid_feedback_core-v3.0.4.tar.gz 142983 SHA256 20b1840716980e7c5a0e6f959c4c26881bfe77a9fae9666542ee8d06a51fe637 SHA512 baea8a61c94e640557d0169b6171247ff0303ff1a9c8b587c6769e367cf56805c1a1e660aadf7178d984182be6dde326770240b3ffeda42139c4a94445a2bbf8 WHIRLPOOL 3b528eaeaee828dc5661844917af258cb89387cccb85f03eeb83d28f1ddd32ffe0a54655f099c719293c3b9bfb7b10b4dd84f598f1f4217a59e2dcdf829f77fa
diff --git a/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch b/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch
new file mode 100644
index 000000000000..f4d555121745
--- /dev/null
+++ b/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.3-gentoo.patch
@@ -0,0 +1,24 @@
+--- Makefile.old 2013-03-22 15:26:23.340764442 +0100
++++ Makefile 2013-03-22 15:36:50.838733773 +0100
+@@ -1,16 +1,10 @@
+ all:: lf_update lf_update_suggestion_order
+
+-lf_update: lf_update.c
+- cc -Wall -O2 \
+- -I "`pg_config --includedir`" \
+- -L "`pg_config --libdir`" \
+- -o lf_update lf_update.c -lpq
+-
+-lf_update_suggestion_order: lf_update_suggestion_order.c
+- cc -Wall -O2 \
+- -I "`pg_config --includedir`" \
+- -L "`pg_config --libdir`" \
+- -o lf_update_suggestion_order lf_update_suggestion_order.c -lpq
++CPPFLAGS=-I `pg_config --includedir`
++LDFLAGS=-L `pg_config --libdir`
++CFLAGS=-Wall -O2
++CC=cc
++LDLIBS=-lpq
+
+ clean::
+ rm -f lf_update lf_update_suggestion_order
diff --git a/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.6-gentoo.patch b/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.6-gentoo.patch
new file mode 100644
index 000000000000..f4d555121745
--- /dev/null
+++ b/www-apps/liquid_feedback_core/files/liquid_feedback_core-2.2.6-gentoo.patch
@@ -0,0 +1,24 @@
+--- Makefile.old 2013-03-22 15:26:23.340764442 +0100
++++ Makefile 2013-03-22 15:36:50.838733773 +0100
+@@ -1,16 +1,10 @@
+ all:: lf_update lf_update_suggestion_order
+
+-lf_update: lf_update.c
+- cc -Wall -O2 \
+- -I "`pg_config --includedir`" \
+- -L "`pg_config --libdir`" \
+- -o lf_update lf_update.c -lpq
+-
+-lf_update_suggestion_order: lf_update_suggestion_order.c
+- cc -Wall -O2 \
+- -I "`pg_config --includedir`" \
+- -L "`pg_config --libdir`" \
+- -o lf_update_suggestion_order lf_update_suggestion_order.c -lpq
++CPPFLAGS=-I `pg_config --includedir`
++LDFLAGS=-L `pg_config --libdir`
++CFLAGS=-Wall -O2
++CC=cc
++LDLIBS=-lpq
+
+ clean::
+ rm -f lf_update lf_update_suggestion_order
diff --git a/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.0.4-gentoo.patch b/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.0.4-gentoo.patch
new file mode 100644
index 000000000000..fbc91eff2467
--- /dev/null
+++ b/www-apps/liquid_feedback_core/files/liquid_feedback_core-3.0.4-gentoo.patch
@@ -0,0 +1,30 @@
+--- Makefile.old 2014-11-29 22:38:43.200509267 +0100
++++ Makefile 2014-11-29 22:39:16.392199651 +0100
+@@ -1,22 +1,10 @@
+ all:: lf_update lf_update_issue_order lf_update_suggestion_order
+
+-lf_update: lf_update.c
+- cc -Wall -O2 \
+- -I "`pg_config --includedir`" \
+- -L "`pg_config --libdir`" \
+- -o lf_update lf_update.c -lpq
+-
+-lf_update_issue_order: lf_update_issue_order.c
+- cc -Wall -O2 \
+- -I "`pg_config --includedir`" \
+- -L "`pg_config --libdir`" \
+- -o lf_update_issue_order lf_update_issue_order.c -lpq
+-
+-lf_update_suggestion_order: lf_update_suggestion_order.c
+- cc -Wall -O2 \
+- -I "`pg_config --includedir`" \
+- -L "`pg_config --libdir`" \
+- -o lf_update_suggestion_order lf_update_suggestion_order.c -lpq
++CPPFLAGS=-I `pg_config --includedir`
++LDFLAGS=-L `pg_config --libdir`
++CFLAGS=-Wall -O2
++CC=cc
++LDLIBS=-lpq
+
+ clean::
+ rm -f lf_update lf_update_issue_order lf_update_suggestion_order
diff --git a/www-apps/liquid_feedback_core/files/postinstall-en.txt b/www-apps/liquid_feedback_core/files/postinstall-en.txt
new file mode 100644
index 000000000000..128c7b20ee7d
--- /dev/null
+++ b/www-apps/liquid_feedback_core/files/postinstall-en.txt
@@ -0,0 +1,25 @@
+Merge info from README file with these.
+
+To use Liquid Feedback you have to follow these
+simple steps, which have to be done as the postgres system user (or
+which ever is the database superuser):
+
+$ createuser liquid_feedback
+and answer the following
+Shall the new role be a superuser? (y/n) n
+Shall the new role be allowed to create databases? (y/n) y
+Shall the new role be allowed to create more new roles? (y/n) n
+
+$ psql
+postgres=# ALTER USER liquid_feedback WITH PASSWORD 'the_new_password';
+
+$ createdb -U liquid_feedback liquid_feedback
+$ psql -U liquid_feedback liquid_feedback
+liquid_feedback=# \i /usr/share/liquid_feedback_code/core.sql
+liquid_feedback=# \i /usr/share/liquid_feedback_code/init.sql
+INSERT INTO system_setting (member_ttl) VALUES ('1 year');
+INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (false, '1 hour', 20, 6);
+INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (false, '1 day', 80, 12);
+INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (true, '1 hour', 200, 60);
+INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (true, '1 day', 800, 120);
+INSERT INTO policy (index, name, admission_time, discussion_time, verification_time, voting_time, issue_quorum_num, issue_quorum_den, initiative_quorum_num, initiative_quorum_den) VALUES (1, 'Default policy', '8 days', '15 days', '8 days', '15 days', 10, 100, 10, 100);
diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild
new file mode 100644
index 000000000000..1412ba3c04fa
--- /dev/null
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+MY_P=${PN}-v${PV}
+
+DESCRIPTION="Internet platforms for proposition development and decision making"
+HOMEPAGE="http://www.public-software-group.org/liquid_feedback"
+SRC_URI="http://www.public-software-group.org/pub/projects/liquid_feedback/backend/v${PV}/${MY_P}.tar.gz"
+
+LICENSE="HPND CC-BY-2.5"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-db/postgresql"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ CPPFLAGS="-I $(pg_config --includedir)" \
+ LDFLAGS="${LDFLAGS} -L $(pg_config --libdir)"
+}
+
+src_install() {
+ dobin lf_update lf_update_suggestion_order lf_export
+ insinto /usr/share/${PN}
+ doins -r {core,init,demo,test}.sql update
+ dodoc README "${FILESDIR}"/postinstall-en.txt
+}
diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
new file mode 100644
index 000000000000..6b672f48c05d
--- /dev/null
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-2.2.6.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils toolchain-funcs
+
+MY_P=${PN}-v${PV}
+
+DESCRIPTION="Internet platforms for proposition development and decision making"
+HOMEPAGE="http://www.public-software-group.org/liquid_feedback"
+SRC_URI="http://www.public-software-group.org/pub/projects/liquid_feedback/backend/v${PV}/${MY_P}.tar.gz"
+
+LICENSE="HPND CC-BY-2.5"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-db/postgresql"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ CPPFLAGS="-I $(pg_config --includedir)" \
+ LDFLAGS="${LDFLAGS} -L $(pg_config --libdir)"
+}
+
+src_install() {
+ dobin lf_update lf_update_suggestion_order lf_export
+ insinto /usr/share/${PN}
+ doins -r {core,init,demo,test}.sql update
+ dodoc README "${FILESDIR}"/postinstall-en.txt
+}
+
+pkg_postinst() {
+ elog "If you just upgraded, remember to update database schema"
+ elog "with the scripts in /usr/share/${PN}/update"
+}
diff --git a/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild b/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
new file mode 100644
index 000000000000..1412ba3c04fa
--- /dev/null
+++ b/www-apps/liquid_feedback_core/liquid_feedback_core-3.0.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+MY_P=${PN}-v${PV}
+
+DESCRIPTION="Internet platforms for proposition development and decision making"
+HOMEPAGE="http://www.public-software-group.org/liquid_feedback"
+SRC_URI="http://www.public-software-group.org/pub/projects/liquid_feedback/backend/v${PV}/${MY_P}.tar.gz"
+
+LICENSE="HPND CC-BY-2.5"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="dev-db/postgresql"
+DEPEND="${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ CPPFLAGS="-I $(pg_config --includedir)" \
+ LDFLAGS="${LDFLAGS} -L $(pg_config --libdir)"
+}
+
+src_install() {
+ dobin lf_update lf_update_suggestion_order lf_export
+ insinto /usr/share/${PN}
+ doins -r {core,init,demo,test}.sql update
+ dodoc README "${FILESDIR}"/postinstall-en.txt
+}
diff --git a/www-apps/liquid_feedback_core/metadata.xml b/www-apps/liquid_feedback_core/metadata.xml
new file mode 100644
index 000000000000..d97438322755
--- /dev/null
+++ b/www-apps/liquid_feedback_core/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>
+<email>tupone@gentoo.org</email>
+<name>Alfredo Tupone</name>
+</maintainer>
+<longdescription lang="en">
+LiquidFeedback is an open-source software, powering internet platforms for proposition development and decision making.
+LiquidFeedback is an independent open source project published under MIT license by the Public Software Group of Berlin, Germany.
+The developers of LiquidFeedback have joined together in the Interaktive Demokratie association to promote the use of electronic media for democratic processes.
+The core consists of a database scheme for the PostgreSQL database, including the algorithms for delegations, feedback and the voting procedure implemented as SQL views and database procedures written in PL/pgSQL. As it is licensed under the liberal MIT/X11-License you can include it in any software project you like, as long as there is PostgreSQL support for your programming language available.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/liquid_feedback_frontend/Manifest b/www-apps/liquid_feedback_frontend/Manifest
new file mode 100644
index 000000000000..d5c1d35c93a2
--- /dev/null
+++ b/www-apps/liquid_feedback_frontend/Manifest
@@ -0,0 +1,5 @@
+DIST liquid_feedback_frontend-italian-2.2.2.tar.gz 7496 SHA256 c894a8c9ca2d628e50ff9836ded017e37e68a87be50032ebb298e55556815a62 SHA512 e58e8efa1c68d35dd23e286eb5720516e2f9ccf21be9697376e3c263eea50bfc80d68497959d07c26482317d6787d53ac19be68c21d0a3b5b65cbe457fbbb322 WHIRLPOOL 0e85294ffa3de77fb6179aebf806aaa03ae505c60d8a6932ee391b3bfff30bed7ba9978c6143ff1a9de9a20413ecfee8eba150a97cbe781536cfee1d2812acd3
+DIST liquid_feedback_frontend-italian-2.2.7.tar.gz 7670 SHA256 ca2b2b9197f5102bc8f4cb3ecc4fa5fa7ea994d7c43f12169efbedfa4ec95899 SHA512 63cfcb4a565fa570777c2f3d2dcec2e98f16415ad9f8a6d62076f4e2cdf0ddae95610688b6b7751a865344acb7b65f78e7cb1ae4103b24dacf63e3e346405918 WHIRLPOOL 985b39b11832860737a388ff0eef1393474c95fac56e3f85ab8107df7cca2988c6fd08ba861b0f8bb92563f764798b0ae3e123803c730c5b21f46db5ec923de2
+DIST liquid_feedback_frontend-v2.2.2.tar.gz 356003 SHA256 83ca1f019078ddde8e034521545b95182a500d0c8a49cf6de4706eab81f29643 SHA512 0b145130814b9e6969189733ce9ccd523672e605f1cd8d4b2a8b931607ffe6b0110b142197ca50ec81326f381fdd4479c929b9eac0e92a5713749df72518962b WHIRLPOOL f08a9906d872dd322befeab769436d0a6387fa3676b698ea5736e8ea01633569fc46cfd97edae3e22c25e8caeab9599cc6594d106a73870c633e76d55c3b6892
+DIST liquid_feedback_frontend-v2.2.7.tar.gz 362509 SHA256 7b0012defc0d1e8c57029e0bce152ee880078dabd39d8ef9a1979c8046c1d15f SHA512 aa8c99e53c329dbf4659dabe617938d63b2aa42bab99ff4e200d4e15be8ed8ef5f64a71293fa796adde47525d1a76ece3b04cff982474eb2307a3fcd4f269d78 WHIRLPOOL 0c76603b09c9034e4ecfa333c62ecae58cb7405790718a31dd1cfea982b707537f42e4864590a56727c7b08a6eb6d26410d17903276d30c63af66a2c62476450
+DIST liquid_feedback_frontend-v3.0.6.tar.gz 497521 SHA256 0d1e78e3280f861247a63d4bed297a0319d8f209df2f3684248ca10d101a0f84 SHA512 d283d277cf6836c53398480c566158481fc65400e128bc4817975fd39c41e6e56b17f7f789a74b1b2a89f84aaf315101e9aa86a474c1817362443d03610fe6e9 WHIRLPOOL f4f27c730a49ac1fb73c66747f901085bae5c4770fc0f0459ff7690633cfbe525dd028c9998f3918d40203cd633ea0c3b6e505122956ec9ce46514eb92c58476
diff --git a/www-apps/liquid_feedback_frontend/files/lqfb-apache.conf b/www-apps/liquid_feedback_frontend/files/lqfb-apache.conf
new file mode 100644
index 000000000000..3f1924b6ae3a
--- /dev/null
+++ b/www-apps/liquid_feedback_frontend/files/lqfb-apache.conf
@@ -0,0 +1,41 @@
+RewriteEngine on
+
+RewriteRule ^/$ /lf/ [R]
+
+RewriteRule ^/lf/static/(.*)$ /lf/static/$1 [L,PT]
+
+RewriteCond %{QUERY_STRING} (.*)?
+RewriteRule ^/lf/$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=0&_webmcp_module=index&_webmcp_view=index&%1 [PT]
+
+RewriteCond %{QUERY_STRING} (.*)?
+RewriteRule ^/lf/([^/]+)/$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=index&%1 [PT]
+
+RewriteCond %{QUERY_STRING} (.*)?
+RewriteRule ^/lf/([^/]+)/([^/\.]+)$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_action=$2&%1 [PT]
+
+RewriteCond %{QUERY_STRING} (.*)?
+RewriteRule ^/lf/([^/]+)/([^/\.]+)\.([^/]+)$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=1&_webmcp_module=$1&_webmcp_view=$2&_webmcp_suffix=$3&%1 [PT]
+
+RewriteCond %{QUERY_STRING} (.*)?
+RewriteRule ^/lf/([^/]+)/([^/]+)/([^/\.]+)\.([^/]+)$ /lf/webmcp-wrapper.lua?_webmcp_urldepth=2&_webmcp_module=$1&_webmcp_view=$2&_webmcp_id=$3&_webmcp_suffix=$4&%1 [PT]
+
+Alias /lf/static /var/lib/liquid_feedback_frontend/static
+
+ScriptAlias /lf/ /usr/lib/webmcp/framework/cgi-bin/
+
+<Directory "/var/lib/liquid_feedback_frontend/static">
+ AllowOverride None
+ Order allow,deny
+ Allow from all
+</Directory>
+
+<Directory "/usr/lib/webmcp/framework/cgi-bin">
+ AllowOverride None
+ Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
+ Order allow,deny
+ Allow from all
+</Directory>
+
+<Location /lf>
+ SetEnv WEBMCP_APP_BASEPATH '/var/lib/liquid_feedback_frontend'
+</Location>
diff --git a/www-apps/liquid_feedback_frontend/files/lqfb.example.com.conf b/www-apps/liquid_feedback_frontend/files/lqfb.example.com.conf
new file mode 100644
index 000000000000..149084138683
--- /dev/null
+++ b/www-apps/liquid_feedback_frontend/files/lqfb.example.com.conf
@@ -0,0 +1,24 @@
+<VirtualHost *:80>
+ ServerName lqfb.example.com
+
+ RewriteEngine On
+ RewriteRule (.*) https://lqfb.example.com%{REQUEST_URI}
+</VirtualHost>
+
+<VirtualHost *:443>
+ ServerName lqfb.example.com
+
+ SSLEngine on
+ SSLProtocol all -SSLv2
+ SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
+ SSLCertificateFile /etc/ssl/apache2/wildcard/server.crt
+ SSLCertificateKeyFile /etc/ssl/apache2/wildcard/server.key
+
+ include /usr/share/liquid_feedback_frontend/lqfb-apache.conf
+
+ <Location /lf>
+ SetEnv WEBMCP_CONFIG_NAME 'myconfig'
+ </Location>
+
+ ErrorLog /var/log/apache2/lqfb.example.com-error.log
+</VirtualHost>
diff --git a/www-apps/liquid_feedback_frontend/files/myconfig.lua b/www-apps/liquid_feedback_frontend/files/myconfig.lua
new file mode 100644
index 000000000000..19c259cd7cbd
--- /dev/null
+++ b/www-apps/liquid_feedback_frontend/files/myconfig.lua
@@ -0,0 +1,29 @@
+config.absolute_base_url = "https://lqfb.example.com/lf"
+config.instance_name = "lf"
+config.database = { engine='postgresql', dbname='liquid_feedback', user='liquid_feedback', password='xxx'}
+config.enable_debug_trace = true
+
+execute.config("init")
+
+config.formatting_engine_executeables = {
+ rocketwiki= "rocketwiki-lqfb",
+ compat = "rocketwiki-lqfb-compat"
+}
+
+-- Checkbox(es) the user has to accept while registering
+--
+--
+----
+--------------------------------------------------------------------------
+config.use_terms_checkboxes = {
+ {
+ name = "terms_of_use_v1",
+ html = "I accept the terms of use.",
+ not_accepted_error = "You have to accept the terms of use to be able to regi ster."
+ },
+-- {
+-- name = "extra_terms_of_use_v1",
+-- html = "I accept the extra terms of use.",
+-- not_accepted_error = "You have to accept the extra terms of use to be able to register."
+-- }
+}
diff --git a/www-apps/liquid_feedback_frontend/files/postinstall-en.txt b/www-apps/liquid_feedback_frontend/files/postinstall-en.txt
new file mode 100644
index 000000000000..80758792d817
--- /dev/null
+++ b/www-apps/liquid_feedback_frontend/files/postinstall-en.txt
@@ -0,0 +1,52 @@
+0. DATABASE SETUP
+
+To use Liquid Feedback you have to follow these
+simple steps, which have to be done as the postgres system user (or
+which ever is the database superuser):
+
+$ createuser liquid_feedback
+and answer the following
+Shall the new role be a superuser? (y/n) n
+Shall the new role be allowed to create databases? (y/n) y
+Shall the new role be allowed to create more new roles? (y/n) n
+
+$ psql
+postgres=# ALTER USER liquid_feedback WITH PASSWORD 'the_new_password';
+
+$ createdb -U liquid_feedback liquid_feedback
+$ psql -U liquid_feedback liquid_feedback
+liquid_feedback=# \i ${MY_INSTALLDIR}/liquid_feedback_core/core.sql
+liquid_feedback=# \i ${MY_INSTALLDIR}/liquid_feedback_core/init.sql
+INSERT INTO system_setting (member_ttl) VALUES ('1 year');
+INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (false, '1 hour', 20, 6);
+INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (false, '1 day', 80, 12);
+INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (true, '1 hour', 200, 60);
+INSERT INTO contingent (polling, time_frame, text_entry_limit, initiative_limit) VALUES (true, '1 day', 800, 120);
+INSERT INTO policy (index, name, admission_time, discussion_time, verification_time, voting_time, issue_quorum_num, issue_quorum_den, initiative_quorum_num, initiative_quorum_den) VALUES (1, 'Default policy', '8 days', '15 days', '8 days', '15 days', 10, 100, 10, 100);
+
+cd /var/lib/liquid_feedback_frontend
+/usr/lib/webmcp/framework/bin/webmcp_shell myconfig
+Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
+> member = Member:by_id(1)
+> member:set_password("type-password-here")
+> member:save()
+> os.exit()
+
+Ensure that "lf_update dbname=liquid_feedback" and
+"lf_update_suggestion_order dbname=liquid_feedback" are called
+regularly! It is required to run these commands regularly
+(i.e. every 5 minutes via cron) to update cached supporter counts,
+to change the state of issues when neccessary, to calculate the
+result of votings, etc. If you wish, copy the created lf_update
+and lf_update_suggestion_order files to /usr/local/bin or a
+similar directory.
+
+It is possible to run these two commands in parallel, if a setup
+requires splitting the load to multiple processor cores. In other
+cases it is recommended to run "lf_update" first, and then
+"lf_update_suggestion_order".
+
+To create an export file, which is containing all but private data,
+you may use the lf_export shell-script:
+$ lf_export liquid_feedback export.sql.gz
+
diff --git a/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.2.ebuild b/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.2.ebuild
new file mode 100644
index 000000000000..d60f7612b69a
--- /dev/null
+++ b/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.2.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+PN_F=${PN}
+PV_F=v${PV}
+MY_P=${PN}-v${PV}
+
+DESCRIPTION="Internet platforms for proposition development and decision making"
+HOMEPAGE="http://www.public-software-group.org/liquid_feedback"
+SRC_URI="http://www.public-software-group.org/pub/projects/liquid_feedback/frontend/v${PV}/${MY_P}.tar.gz
+linguas_it? ( mirror://gentoo/${PN}-italian-${PV}.tar.gz )"
+
+LICENSE="HPND CC-BY-2.5"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="linguas_de linguas_el linguas_en linguas_eo linguas_it"
+
+RDEPEND=""
+DEPEND="www-apps/rocketwiki-lqfb
+ www-servers/apache
+ ${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare () {
+ for lang in zh-Hans zh-TW ; do
+ rm -f locale/help/*.${lang}.txt
+ done
+ for lang in de el en eo it ; do
+ if ! use linguas_${lang}; then
+ rm -f locale/help/*.${lang}.txt
+ fi
+ done
+}
+
+src_compile() {
+ emake -C locale
+}
+
+src_install() {
+ dodoc README
+ dodoc "${FILESDIR}"/lqfb.example.com.conf
+ dodoc "${FILESDIR}"/postinstall-en.txt
+
+ insinto /var/lib/${PN}
+ doins -r app db env model static tmp utils
+ insinto /var/lib/${PN}/locale
+ doins locale/*.lua
+ insinto /var/lib/${PN}/locale/help
+ eshopts_push -s nullglob
+ for helpFile in locale/help/*.html ; do
+ doins $helpFile
+ done
+ eshopts_pop
+
+ insinto /etc/${PN}
+ doins "${FILESDIR}"/myconfig.lua config/*
+ dosym /etc/${PN} /var/lib/${PN}/config
+
+ insinto /usr/share/${PN}
+ doins "${FILESDIR}"/lqfb-apache.conf
+
+ fowners apache:apache /var/lib/${PN}/tmp
+}
diff --git a/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.7.ebuild b/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.7.ebuild
new file mode 100644
index 000000000000..a4977ead427c
--- /dev/null
+++ b/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-2.2.7.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+PN_F=${PN}
+PV_F=v${PV}
+MY_P=${PN}-v${PV}
+
+DESCRIPTION="Internet platforms for proposition development and decision making"
+HOMEPAGE="http://www.public-software-group.org/liquid_feedback"
+SRC_URI="http://www.public-software-group.org/pub/projects/liquid_feedback/frontend/v${PV}/${MY_P}.tar.gz
+linguas_it? ( mirror://gentoo/${PN}-italian-${PV}.tar.gz )"
+
+LICENSE="HPND CC-BY-2.5"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="linguas_de linguas_el linguas_en linguas_eo linguas_it"
+
+RDEPEND=">=www-apps/liquid_feedback_core-2.2.6"
+DEPEND="www-apps/rocketwiki-lqfb
+ www-servers/apache
+ ${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare () {
+ for lang in zh-Hans zh-TW ; do
+ rm -f locale/help/*.${lang}.txt
+ done
+ for lang in de el en eo it ; do
+ if ! use linguas_${lang}; then
+ rm -f locale/help/*.${lang}.txt
+ fi
+ done
+}
+
+src_compile() {
+ emake -C locale
+}
+
+src_install() {
+ dodoc README
+ dodoc "${FILESDIR}"/lqfb.example.com.conf
+ dodoc "${FILESDIR}"/postinstall-en.txt
+
+ insinto /var/lib/${PN}
+ doins -r app db env model static tmp utils
+ insinto /var/lib/${PN}/locale
+ doins locale/*.lua
+ insinto /var/lib/${PN}/locale/help
+ eshopts_push -s nullglob
+ for helpFile in locale/help/*.html ; do
+ doins $helpFile
+ done
+ eshopts_pop
+
+ insinto /etc/${PN}
+ doins "${FILESDIR}"/myconfig.lua config/*
+ dosym /etc/${PN} /var/lib/${PN}/config
+
+ insinto /usr/share/${PN}
+ doins "${FILESDIR}"/lqfb-apache.conf
+
+ fowners apache:apache /var/lib/${PN}/tmp
+}
diff --git a/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-3.0.6.ebuild b/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-3.0.6.ebuild
new file mode 100644
index 000000000000..2839536f2926
--- /dev/null
+++ b/www-apps/liquid_feedback_frontend/liquid_feedback_frontend-3.0.6.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+PN_F=${PN}
+PV_F=v${PV}
+MY_P=${PN}-v${PV}
+
+DESCRIPTION="Internet platforms for proposition development and decision making"
+HOMEPAGE="http://www.public-software-group.org/liquid_feedback"
+SRC_URI="http://www.public-software-group.org/pub/projects/liquid_feedback/frontend/v${PV}/${MY_P}.tar.gz"
+
+LICENSE="HPND CC-BY-2.5"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND=">=www-apps/liquid_feedback_core-3.0.4"
+DEPEND="www-apps/rocketwiki-lqfb
+ www-servers/apache
+ >=www-apps/webmcp-1.2.6
+ ${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_install() {
+ dodoc "${FILESDIR}"/lqfb.example.com.conf
+ dodoc "${FILESDIR}"/postinstall-en.txt
+
+ insinto /var/lib/${PN}
+ doins -r app db env model static tmp
+ insinto /var/lib/${PN}/locale
+ doins locale/*.lua
+
+ insinto /etc/${PN}
+ doins "${FILESDIR}"/myconfig.lua config/*
+ dosym /etc/${PN} /var/lib/${PN}/config
+
+ insinto /usr/share/${PN}
+ doins "${FILESDIR}"/lqfb-apache.conf
+
+ fowners apache:apache /var/lib/${PN}/tmp
+}
diff --git a/www-apps/liquid_feedback_frontend/metadata.xml b/www-apps/liquid_feedback_frontend/metadata.xml
new file mode 100644
index 000000000000..1971333113c6
--- /dev/null
+++ b/www-apps/liquid_feedback_frontend/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>
+<email>tupone@gentoo.org</email>
+<name>Alfredo Tupone</name>
+</maintainer>
+<longdescription lang="en">
+LiquidFeedback is an open-source software, powering internet platforms for proposition development and decision making.
+LiquidFeedback is an independent open source project published under MIT license by the Public Software Group of Berlin, Germany.
+The developers of LiquidFeedback have joined together in the Interaktive Demokratie association to promote the use of electronic media for democratic processes.
+</longdescription>
+</pkgmetadata>
diff --git a/www-apps/lxr/Manifest b/www-apps/lxr/Manifest
new file mode 100644
index 000000000000..84b80a4c6ca1
--- /dev/null
+++ b/www-apps/lxr/Manifest
@@ -0,0 +1 @@
+DIST lxr-0.9.8.tgz 104246 SHA256 2caff9447cc2ef1f82d96ce5a2fc4a0358f2d12de52d73a91f29ae5119db4bf5 SHA512 2ee9965448edc63a35a3c9d51b2e22c142e5e0aed8e487a590ad3e8a9f840f94fbe38736fe139fb02941ab4e5c891821460b0f32b56a52bf295988c6ef432318 WHIRLPOOL e25bc692b08666402e8ef09b9f464811b7d49bbe7ca2597d35e3d9f3dbe2b4bb285ae52e748b86b11327f92a491863ede9030ba914f6f8e3a2251ea3f1b8859c
diff --git a/www-apps/lxr/files/lxr-0.9.8-initdb-mysql.patch b/www-apps/lxr/files/lxr-0.9.8-initdb-mysql.patch
new file mode 100644
index 000000000000..f28604683781
--- /dev/null
+++ b/www-apps/lxr/files/lxr-0.9.8-initdb-mysql.patch
@@ -0,0 +1,13 @@
+--- initdb-mysql 2004-07-20 11:31:24.000000000 -0400
++++ initdb-mysql.patched 2006-01-26 15:41:43.000000000 -0500
+@@ -34,8 +34,8 @@ create table lxr_indexes (
+
+ create table lxr_releases
+ (fileid int not null references lxr_files,
+- releaseid char(255) binary not null,
+- primary key (fileid,releaseid)
++ `releaseid` char(255) binary not null,
++ primary key (fileid,`releaseid`)
+ );
+
+ create table lxr_usage
diff --git a/www-apps/lxr/files/postinstall-en.txt b/www-apps/lxr/files/postinstall-en.txt
new file mode 100644
index 000000000000..07412c4da554
--- /dev/null
+++ b/www-apps/lxr/files/postinstall-en.txt
@@ -0,0 +1,44 @@
+0. Create a db for lxr:
+
+ MySQL: run mysql and read in the initdb file using:
+ \. ${MY_SQLSCRIPTSDIR}/mysql/${PVR}_create.sql
+
+ PostgreSQL:
+ createuser lxr
+ createdb -U lxr lxr
+ psql -U lxr lxr
+ \i ${MY_SQLSCRIPTSDIR}/postgresql/${PVR}_create.sql
+
+1. Edit ${MY_INSTALLDIR}/lxr.conf and set:
+ - db settings
+ - 'v'
+ - 'sourceroot'
+ - 'graphicfile'
+ - 'filetype'
+ - 'incprefix'
+
+2. If you want to use CVS, also set:
+ 'range' => sub { return
+ ($files->allreleases($LXR::Common::pathname),
+ $files->allrevisions($LXR::Common::pathname))
+ }, # deferred function call.
+
+ You should also set the default version retrieved to a version that really
+ does exist otherwise you will receive errors when generating your index.
+
+ A good value for the default version is head.
+ 'default' => 'head'
+ Set 'sourceroot' and 'sourcerootname'.
+
+3. If you want to use swish-e:
+ Create a directory for the swish index files to go in, and put the
+ path of this directory in the 'swishdir' variable.
+
+4. An .htaccess file has been installed into ${MY_INSTALLDIR}. Please note that
+you must take special care not to make lxr.conf visible to the world. If you
+are not using mod_perl, use .htaccess_cgi instead.
+
+5. Create the index:
+ ${MY_INSTALLDIR}/genxref --url http://${VHOST_HOSTNAME}${VHOST_APPDIR}
+
+6. Browse to http://${VHOST_HOSTNAME}${VHOST_APPDIR}/source
diff --git a/www-apps/lxr/files/reconfig b/www-apps/lxr/files/reconfig
new file mode 100644
index 000000000000..e9e2f47b3f69
--- /dev/null
+++ b/www-apps/lxr/files/reconfig
@@ -0,0 +1,21 @@
+#!/bin/bash
+
+die() {
+ echo "#####"
+ echo "$@"
+ echo "#####"
+ exit 1
+}
+
+if [[ $1 == "install" ]] ; then
+ cd "${MY_INSTALLDIR}" || die
+ files="lxr.conf $(ls ._cfg*lxr.conf 2>/dev/null)"
+ sed -i \
+ -e "s|/lxr|${VHOST_APPDIR}|" \
+ -e "s|192.168.1.3/lxr|${VHOST_HOSTNAME}${VHOST_APPDIR}|" \
+ ${files} || die
+elif [[ $1 = "clean" ]] ; then
+ echo $1
+fi
+
+exit 0
diff --git a/www-apps/lxr/lxr-0.9.8-r1.ebuild b/www-apps/lxr/lxr-0.9.8-r1.ebuild
new file mode 100644
index 000000000000..d78092a86fdb
--- /dev/null
+++ b/www-apps/lxr/lxr-0.9.8-r1.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit perl-module webapp multilib eutils depend.apache
+
+DESCRIPTION="general purpose source code indexer and cross-referener with a web-based frontend"
+HOMEPAGE="http://sourceforge.net/projects/lxr"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ppc ~x86"
+IUSE="cvs mysql postgres"
+WEBAPP_MANUAL_SLOT="yes"
+SLOT="0"
+
+RDEPEND="dev-util/ctags
+ dev-lang/perl
+ dev-perl/DBI
+ dev-perl/File-MMagic
+ cvs? ( dev-vcs/rcs )
+ postgres? ( dev-perl/DBD-Pg )
+ mysql? ( dev-perl/DBD-mysql )"
+
+need_apache2
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+src_prepare() {
+
+ epatch "${FILESDIR}/${PN}-0.9.8-initdb-mysql.patch"
+
+ sed -i \
+ -e 's|/usr/local/bin/swish-e|/usr/bin/swish-e|' \
+ -e 's|/usr/bin/ctags|/usr/bin/exuberant-ctags|' \
+ -e "s|'glimpse|#'glimpse|g" \
+ -e "s:/path/to/lib:${VENDOR_LIB}:" \
+ templates/lxr.conf || die "sed failed"
+ sed -i \
+ -e 's|Apache::Registry|ModPerl::PerlRun|' \
+ .htaccess-apache1 || die "sed failed"
+ sed -i \
+ -e 's|require Local;|require LXR::Local;|' \
+ -e 's|use Local;|use LXR::Local;|' \
+ -e 's|package Local;|package LXR::Local;|' \
+ Local.pm lib/LXR/Common.pm diff find ident search source || die "sed failed"
+}
+
+# prevent eclasses from overriding this
+src_compile() { :; }
+
+src_install() {
+ perl_set_version
+ webapp_src_preinst
+
+ insinto "${VENDOR_LIB}"
+ doins -r lib/LXR
+ insinto "${VENDOR_LIB}"/LXR
+ doins Local.pm
+
+ dodoc BUGS CREDITS.txt ChangeLog HACKING INSTALL notes .htaccess* swish-e.conf
+
+ exeinto "${MY_HTDOCSDIR}"
+ doexe diff find genxref ident search source
+ insinto "${MY_HTDOCSDIR}"
+ doins .htaccess* templates/*
+
+ webapp_configfile "${MY_HTDOCSDIR}"/lxr.conf "${MY_HTDOCSDIR}"/.htaccess-apache1
+ webapp_sqlscript mysql initdb-mysql
+ webapp_sqlscript postgresql initdb-postgres
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+ webapp_hook_script "${FILESDIR}"/reconfig
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+}
+
+pkg_prerm() {
+ webapp_pkg_prerm
+}
diff --git a/www-apps/lxr/metadata.xml b/www-apps/lxr/metadata.xml
new file mode 100644
index 000000000000..d50c1bef73f7
--- /dev/null
+++ b/www-apps/lxr/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <upstream>
+ <remote-id type="sourceforge">lxr</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/mantisbt/Manifest b/www-apps/mantisbt/Manifest
new file mode 100644
index 000000000000..3e3512e13a70
--- /dev/null
+++ b/www-apps/mantisbt/Manifest
@@ -0,0 +1 @@
+DIST mantisbt-1.2.15.tar.gz 3577359 SHA256 bf40f59a1e139a4674b311dd755d272972aab06df842875cd5ce819eef6c6eec SHA512 738e11b46ab44f63b415a090494869460e95af1b690cf0a9bfb5e064b545eb9110a169b175eeed906cd32d81b7cc573fcfaae2cef8d9829a40e9c646a5e08ebe WHIRLPOOL e6c56eee501bdeff35df43ef32938c664e9b4ebfd8c16ed8a9d6ce179e2cea3094cc85799366c50264c36b33595b1afed61c1621600ccfbed4494d1677c91a48
diff --git a/www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch b/www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch
new file mode 100644
index 000000000000..94f7af27a521
--- /dev/null
+++ b/www-apps/mantisbt/files/mantisbt-1.2.15-cve20134460.patch
@@ -0,0 +1,22 @@
+diff --git a/account_sponsor_page.php b/account_sponsor_page.php
+index cccdf25..197564c 100644
+--- a/account_sponsor_page.php
++++ b/account_sponsor_page.php
+@@ -138,7 +138,7 @@
+
+ echo '<tr bgcolor="' . get_status_color( $t_bug->status, auth_get_current_user_id(), $t_bug->project_id ) . '">';
+ echo '<td><a href="' . string_get_bug_view_url( $row['bug'] ) . '">' . bug_format_id( $row['bug'] ) . '</a></td>';
+- echo '<td>' . project_get_field( $t_bug->project_id, 'name' ) . '&#160;</td>';
++ echo '<td>' . string_display_line( project_get_field( $t_bug->project_id, 'name' ) ) . '&#160;</td>';
+ echo '<td class="right">' . $t_released_label . '&#160;</td>';
+ echo '<td><span class="issue-status" title="' . $t_resolution . '">' . $t_status . '</span></td>';
+ echo '<td>';
+@@ -248,7 +248,7 @@
+
+ echo '<tr bgcolor="' . get_status_color( $t_bug->status, auth_get_current_user_id(), $t_bug->project_id ) . '">';
+ echo '<td><a href="' . string_get_bug_view_url( $row['bug'] ) . '">' . bug_format_id( $row['bug'] ) . '</a></td>';
+- echo '<td>' . project_get_field( $t_bug->project_id, 'name' ) . '&#160;</td>';
++ echo '<td>' . string_display_line( project_get_field( $t_bug->project_id, 'name' ) ) . '&#160;</td>';
+ echo '<td class="right">' . $t_released_label . '&#160;</td>';
+ echo '<td><a title="' . $t_resolution . '"><u>' . $t_status . '</u>&#160;</a></td>';
+
diff --git a/www-apps/mantisbt/files/postinstall-en-1.0.0.txt b/www-apps/mantisbt/files/postinstall-en-1.0.0.txt
new file mode 100644
index 000000000000..a108ccf138e0
--- /dev/null
+++ b/www-apps/mantisbt/files/postinstall-en-1.0.0.txt
@@ -0,0 +1,13 @@
+If you are UPGRADING from an earlier version, you can use the upgrade scripts
+at admin/ to execute the pending database updates. For more information,
+please, see http://manual.mantisbt.org/manual.installation.upgrading.php .
+
+To INSTALL, visit: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/admin/install.php
+Then log in: Username - administrator, Password - root. You can load up
+admin/check.php to CHECK if everything is working correctly.
+
+Then edit ${MY_INSTALLDIR}/config_inc.php as necessary.
+
+After you've finished these steps, please delete the admin/ directory.
+
+Don't forget to read the online manual (http://manual.mantisbt.org/)!!!
diff --git a/www-apps/mantisbt/mantisbt-1.2.15-r1.ebuild b/www-apps/mantisbt/mantisbt-1.2.15-r1.ebuild
new file mode 100644
index 000000000000..0c03681e0851
--- /dev/null
+++ b/www-apps/mantisbt/mantisbt-1.2.15-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils webapp depend.php
+
+DESCRIPTION="PHP/MySQL/Web based bugtracking system"
+HOMEPAGE="http://www.mantisbt.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+RDEPEND="
+ virtual/httpd-php
+ virtual/httpd-cgi
+ >=dev-php/adodb-5.10"
+
+src_prepare() {
+ # Drop external libraries
+ rm -r "${S}/library/adodb/"
+ epatch "${FILESDIR}/${PN}-1.2.15-cve20134460.patch"
+}
+
+src_install() {
+ webapp_src_preinst
+ rm doc/{LICENSE,INSTALL}
+ dodoc doc/{CREDITS,CUSTOMIZATION,RELEASE} doc/en/*
+
+ rm -rf doc packages
+ mv config_inc.php.sample config_inc.php
+ cp -R . "${D}/${MY_HTDOCSDIR}"
+
+ webapp_configfile "${MY_HTDOCSDIR}/config_inc.php"
+ webapp_postinst_txt en "${FILESDIR}/postinstall-en-1.0.0.txt"
+ webapp_src_install
+}
diff --git a/www-apps/mantisbt/metadata.xml b/www-apps/mantisbt/metadata.xml
new file mode 100644
index 000000000000..e5a305eb81c7
--- /dev/null
+++ b/www-apps/mantisbt/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+ <maintainer>
+ <email>pva@gentoo.org</email>
+ <name>Peter Volkov</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>d@hx.id.au</email>
+ <name>David Hicks</name>
+ </maintainer>
+ <remote-id type="sourceforge">mantisbt</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/www-apps/mediawiki/Manifest b/www-apps/mediawiki/Manifest
new file mode 100644
index 000000000000..6dc570219f26
--- /dev/null
+++ b/www-apps/mediawiki/Manifest
@@ -0,0 +1,7 @@
+DIST mediawiki-1.19.23.tar.gz 17999153 SHA256 70ef96994e2502742a29ebd9b18d800ebd1d2ce4846bcaa0f40aca19bdf68b7e SHA512 fede22398b5e8608664b36f025b13e62cd7e5e0cbc2875d995ee7a02c3816304c5e0dc729a2303d0fd337d8f565b5c755e6aa90e1c11c72a0086e939c7947119 WHIRLPOOL 83509adebe7fb27ab0d508497182b994929e7aab884d6e57a812e82b9f8abfdbc75867002ea74edb527906af0bbb0186e38f5e7639a3f66304baeced1cc72991
+DIST mediawiki-1.19.24.tar.gz 18670105 SHA256 5cf1e4be7a9b70476cee95fa17304277af37a6242e2e120e7fb4ae97903db34b SHA512 a8c5a42c2722f762b4e46698e6ecac7aaafa6e0d107f0634ffd516953e1c70de329cdc310329c3e9b06b782a6b89687e7db9882927e02fd221e3449184aa8087 WHIRLPOOL 54c8c67f9c9ffe5edd3abf0eac335a666df3e600d3fc7f939104dd42371111ac22c4a68f07078803b74ef637c598d1f52714738a47b90e5bcca233434dfb9dad
+DIST mediawiki-1.22.15.tar.gz 19919528 SHA256 c60fe4f2b79a513ec2564c216c4a4bdcc25a0f667c8868a18568df4e88a59318 SHA512 99d5087bc31c0b012af15167bcc804aded4b73be2d05ac643c7240430eda41ba218d9df5ca0a5c8b2adb2bbbc6745398bc759cf03519acf9af9d06ddd1e6f81c WHIRLPOOL d1266e42ab828ec85929b65e6ab160c866d21077dea3fd8acf51c69c0944e6a1c2ef048a141a9752375be5ba54cfe63bf033e458489ad31df0a7e9c12c8a1446
+DIST mediawiki-1.23.8.tar.gz 20010339 SHA256 e7b070ec24a1f3676c1519bc98e20dd5a87d678f4e9f7e0f7a9505c4ff65a34a SHA512 43fb473100ec700e1dc67c21efbefea93ae7e7e615181a80da19132c25dce11c4317a2d2418e90b730c930e85e6e71363267fa457a7d220eb6d7a16792792a3b WHIRLPOOL 31ea4c1831130f40224b0693d94a871e0f1a4d643a30b8ffc5f8360b9374dd2a76d7db9aed88c30dbd3a99d993b44d711694a560e6e2544b903f7c03c6608e18
+DIST mediawiki-1.23.9.tar.gz 20979505 SHA256 14af72b5b01b8c08e62d893db08519440372ba115c94ecf2f622fd77c123f3d0 SHA512 edb8da95132b519dbe5532bc02342427c4c9a5af1210b34909cc0f2459be796e1d3a9ef3fe0fb23452dc5bad087cf7ac2a365a8e44fa4510541679219b947ea2 WHIRLPOOL 5669c1b98922a35b29b83fc35a6daa9f65e0befa4c537b8786c5f8c5d72ab2a556706a2b5ad47e72710c5c46177aa342beb0029e3171dfd9d0fa40044d21f52f
+DIST mediawiki-1.24.1.tar.gz 20725572 SHA256 f240749d42dfa830d709be5d2be0503470538e19fd2bf1a7644c74fa8e503eba SHA512 4ae6c2bfe629663394df446e0a74851b0853d4a765049134e12a42b77687605d567f508bef668fcac48a04eb56ff685beac0f46e20c7d448371debcfce7d319f WHIRLPOOL f4b3f0ec4df5d9edcc0ea6cb2b40da02f9103c33dadbcdbf31837a8293d39bfd4bb5422dc3c77c6dd5ab257453cf24a085adfaa82ebffae7d719532b02aee8c4
+DIST mediawiki-1.24.2.tar.gz 21874196 SHA256 01ceb6b6e1df9d6ee99a0221424bd1554e10770993a18df98153c7a298cad3bb SHA512 8ad7cdc6cf655a88a406286f868dbdeebd24046b605d561ba844c09f3850f989fa5e8bce385906a212cde4ef944a0e4278f3d2bbe1e2fe5e3b6ab07d13913554 WHIRLPOOL ccda9d368d2e40ff936e201040e6b42378a3530c1c8b01a8279a9a78e8f00129cae1a13b7011c41a1036d816cc4517883665debea0a16cd4ab2b3c10dfb95e8c
diff --git a/www-apps/mediawiki/files/postinstall-1.18-en.txt b/www-apps/mediawiki/files/postinstall-1.18-en.txt
new file mode 100644
index 000000000000..bfed0d9215cd
--- /dev/null
+++ b/www-apps/mediawiki/files/postinstall-1.18-en.txt
@@ -0,0 +1,85 @@
+To complete installation you need to proceed the following steps:
+=================================================================
+
+1. Temporarily make the "mw-config" directory writable to the user the web
+server is running as. The quickest way is to make the directory world
+writable. For example:
+
+$ cd ${MY_INSTALLDIR}
+$ chmod a+w mw-config
+
+
+2. Configure database.
+a.) If you know the root password on your database, the MediaWiki installation
+script can create a new database for you.
+
+b.) If you don't know the root password, MediaWiki still needs database to
+work with. So, please, read the following link and find solution which suits
+your needs best:
+
+http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki#Create_a_database
+
+
+3. Now continue the installation through web browser by accessing the
+following page:
+
+http://${VHOST_HOSTNAME}${VHOST_APPDIR}/mw-config/
+
+
+4. After the setup script has finished running successfully, a file called
+LocalSettings.php is created in the "mw-config" directory. Move this file to the
+root wiki directory (${MY_INSTALLDIR}):
+
+$ mv mw-config/LocalSettings.php .
+
+Set stringent permissions on the LocalSettings.php file:
+
+$ chown <webserver-user>:root LocalSettings.php
+$ chmod 600 LocalSettings.php
+
+And delete the "mw-config" directory:
+
+$ rm -rf mw-config
+
+
+5. Once you have done the above, your wiki should be ready to use!
+
+http://${VHOST_HOSTNAME}${VHOST_APPDIR}/
+
+
+Enabling Optional Features and other configuration
+==================================================
+
+Allow images and other files to be uploaded through the wiki
+------------------------------------------------------------
+
+If you wish to enable images and other files to be uploaded through wiki then
+edit the LocalSettings.php file and set \$wgEnableUploads to 'true':
+
+\$wgEnableUploads = true;
+
+Now if MediaWiki was built with the imagemagick USE-flag the directory
+permissions are correct, otherwise install ImageMagick and adjust permissions
+on the images directory to allow the web server to write. For example:
+
+$ chown <webserver-user>:<webserver-group> ${MY_INSTALLDIR}/images
+
+IMPORTANT: Uploads need to be set up properly in order to be secure! For more
+details take a look at the following page:
+
+http://www.mediawiki.org/wiki/Manual:$wgEnableUploads
+
+
+Math Support
+------------
+
+Math support has been removed from the core mediawiki package from 1.18.0
+onwards. See http://www.mediawiki.org/wiki/Extension:Math to enable math
+support.
+
+
+Other
+-----
+
+For other tweaks, continue with the following:
+http://www.mediawiki.org/wiki/Manual:Installing_MediaWiki#See_also
diff --git a/www-apps/mediawiki/files/postupgrade-1.16-en.txt b/www-apps/mediawiki/files/postupgrade-1.16-en.txt
new file mode 100644
index 000000000000..e26939c36e3d
--- /dev/null
+++ b/www-apps/mediawiki/files/postupgrade-1.16-en.txt
@@ -0,0 +1,44 @@
+These instructions help you to upgrade your mediawiki installation.
+
+Please NOTE: at this point it is supposed that you've already read
+RELEASE-NOTES and done full wiki backup, as described here:
+http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki
+
+
+Run the update script
+=====================
+
+Note: Make sure \$wgDBadminusr and \$wgDBadminpassword is set in your
+LocalSettings.php file in your wiki root. The user needs full permissions
+(shell access) on the database.
+
+The preferred method of performing the update is using the command-line
+maintenance script, although it is also possible to re-run the web-based
+installer. To run command-line maintenance script, change to the maintenance
+directory and execute the update script:
+
+$ cd ${MY_INSTALLDIR}/maintenance
+$ php update.php
+
+MediaWiki will inspect the existing schema and update it to work with the new
+code, adding tables and columns as needed.
+
+For alternative ways to upgrade your wiki, please, take a look at:
+http://www.mediawiki.org/wiki/Manual:Upgrading
+
+
+Upgrade extensions
+==================
+
+Certain extensions have been updated in order to work with MediaWiki 1.13. Be
+sure to upgrade to the latest versions of such extensions. You might need to
+perform manual updates to custom extensions.
+
+
+Test the update
+===============
+
+Once the upgrade has completed, browse to the wiki and check basics such as
+viewing and editing pages to ensure things still work as expected.
+
+Visit Special:Version and check that the version shown is correct.
diff --git a/www-apps/mediawiki/mediawiki-1.19.23.ebuild b/www-apps/mediawiki/mediawiki-1.19.23.ebuild
new file mode 100644
index 000000000000..13ab977b2411
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.19.23.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit webapp versionator
+
+MY_BRANCH=$(get_version_component_range 1-2)
+
+DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
+HOMEPAGE="http://www.mediawiki.org"
+SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha amd64 ppc x86"
+IUSE="imagemagick mysql postgres sqlite"
+
+RDEPEND=">=dev-lang/php-5.3[mysql?,postgres?,session,xml,xmlreader]
+ imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
+ !imagemagick? ( dev-lang/php[gd] )
+ sqlite? (
+ dev-db/sqlite:3[fts3(+)]
+ >=dev-lang/php-5.3[pdo]
+ || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] )
+ )
+ virtual/httpd-php"
+
+need_httpd_cgi
+
+RESTRICT="test"
+
+src_install() {
+ webapp_src_preinst
+
+ # First we install docs and then copy everything left into htdocs dir
+ # to avoid bugs like #236411.
+
+ # We ensure the directories are prepared for writing. The post-
+ # install instructions guide the user to enable the feature.
+ local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE"
+ dodoc ${DOCS} docs/*.txt
+ docinto php-memcached
+ dodoc docs/php-memcached/*
+
+ # Clean everything not used at the site...
+ rm -rf ${DOCS} COPYING tests docs || die
+ find . -name Makefile -delete || die
+ # and install
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ # If imagemagick is enabled then setup for image upload.
+ # We ensure the directory is prepared for writing.
+ if use imagemagick ; then
+ webapp_serverowned "${MY_HTDOCSDIR}"/images
+ fi
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
+ webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ echo
+ elog "=== Consult the release notes ==="
+ elog "Before doing anything, stop and consult the release notes"
+ elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2"
+ echo
+ elog "These detail bug fixes, new features and functionality, and any"
+ elog "particular points that may need to be noted during the upgrade procedure."
+ echo
+ ewarn "Back up existing files and the database before upgrade."
+ ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
+ ewarn "provides an overview of the backup process."
+ echo
+ fi
+}
diff --git a/www-apps/mediawiki/mediawiki-1.19.24.ebuild b/www-apps/mediawiki/mediawiki-1.19.24.ebuild
new file mode 100644
index 000000000000..cbfc69bffa4c
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.19.24.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit webapp versionator
+
+MY_BRANCH=$(get_version_component_range 1-2)
+
+DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
+HOMEPAGE="http://www.mediawiki.org"
+SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE="imagemagick mysql postgres sqlite"
+
+RDEPEND=">=dev-lang/php-5.3[mysql?,postgres?,session,xml,xmlreader]
+ imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
+ !imagemagick? ( dev-lang/php[gd] )
+ sqlite? (
+ dev-db/sqlite:3[fts3(+)]
+ >=dev-lang/php-5.3[pdo]
+ || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] )
+ )
+ virtual/httpd-php"
+
+need_httpd_cgi
+
+RESTRICT="test"
+
+src_install() {
+ webapp_src_preinst
+
+ # First we install docs and then copy everything left into htdocs dir
+ # to avoid bugs like #236411.
+
+ # We ensure the directories are prepared for writing. The post-
+ # install instructions guide the user to enable the feature.
+ local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE"
+ dodoc ${DOCS} docs/*.txt
+ docinto php-memcached
+ dodoc docs/php-memcached/*
+
+ # Clean everything not used at the site...
+ rm -rf ${DOCS} COPYING tests docs || die
+ find . -name Makefile -delete || die
+ # and install
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ # If imagemagick is enabled then setup for image upload.
+ # We ensure the directory is prepared for writing.
+ if use imagemagick ; then
+ webapp_serverowned "${MY_HTDOCSDIR}"/images
+ fi
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
+ webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ echo
+ elog "=== Consult the release notes ==="
+ elog "Before doing anything, stop and consult the release notes"
+ elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2"
+ echo
+ elog "These detail bug fixes, new features and functionality, and any"
+ elog "particular points that may need to be noted during the upgrade procedure."
+ echo
+ ewarn "Back up existing files and the database before upgrade."
+ ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
+ ewarn "provides an overview of the backup process."
+ echo
+ fi
+}
diff --git a/www-apps/mediawiki/mediawiki-1.22.15.ebuild b/www-apps/mediawiki/mediawiki-1.22.15.ebuild
new file mode 100644
index 000000000000..4993fee2e6c2
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.22.15.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit webapp versionator
+
+MY_BRANCH=$(get_version_component_range 1-2)
+
+DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
+HOMEPAGE="http://www.mediawiki.org"
+SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha amd64 ~arm ppc x86"
+IUSE="imagemagick mysql postgres sqlite"
+
+RDEPEND=">=dev-lang/php-5.3.2[json,mysql?,postgres?,session,xml,xmlreader]
+ imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
+ !imagemagick? ( dev-lang/php[gd] )
+ sqlite? (
+ dev-db/sqlite:3[fts3(+)]
+ >=dev-lang/php-5.3.2[pdo]
+ || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] )
+ )
+ virtual/httpd-php"
+
+need_httpd_cgi
+
+RESTRICT="test"
+
+src_install() {
+ webapp_src_preinst
+
+ # First we install docs and then copy everything left into htdocs dir
+ # to avoid bugs like #236411.
+
+ # We ensure the directories are prepared for writing. The post-
+ # install instructions guide the user to enable the feature.
+ local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE"
+ dodoc ${DOCS} docs/*.txt
+ docinto php-memcached
+ dodoc docs/php-memcached/*
+
+ # Clean everything not used at the site...
+ rm -rf ${DOCS} COPYING tests docs || die
+ find . -name Makefile -delete || die
+ # and install
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ # If imagemagick is enabled then setup for image upload.
+ # We ensure the directory is prepared for writing.
+ if use imagemagick ; then
+ webapp_serverowned "${MY_HTDOCSDIR}"/images
+ fi
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
+ webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ echo
+ elog "=== Consult the release notes ==="
+ elog "Before doing anything, stop and consult the release notes"
+ elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2"
+ echo
+ elog "These detail bug fixes, new features and functionality, and any"
+ elog "particular points that may need to be noted during the upgrade procedure."
+ echo
+ ewarn "Back up existing files and the database before upgrade."
+ ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
+ ewarn "provides an overview of the backup process."
+ echo
+ fi
+}
diff --git a/www-apps/mediawiki/mediawiki-1.23.8.ebuild b/www-apps/mediawiki/mediawiki-1.23.8.ebuild
new file mode 100644
index 000000000000..4993fee2e6c2
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.23.8.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit webapp versionator
+
+MY_BRANCH=$(get_version_component_range 1-2)
+
+DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
+HOMEPAGE="http://www.mediawiki.org"
+SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha amd64 ~arm ppc x86"
+IUSE="imagemagick mysql postgres sqlite"
+
+RDEPEND=">=dev-lang/php-5.3.2[json,mysql?,postgres?,session,xml,xmlreader]
+ imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
+ !imagemagick? ( dev-lang/php[gd] )
+ sqlite? (
+ dev-db/sqlite:3[fts3(+)]
+ >=dev-lang/php-5.3.2[pdo]
+ || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] )
+ )
+ virtual/httpd-php"
+
+need_httpd_cgi
+
+RESTRICT="test"
+
+src_install() {
+ webapp_src_preinst
+
+ # First we install docs and then copy everything left into htdocs dir
+ # to avoid bugs like #236411.
+
+ # We ensure the directories are prepared for writing. The post-
+ # install instructions guide the user to enable the feature.
+ local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE"
+ dodoc ${DOCS} docs/*.txt
+ docinto php-memcached
+ dodoc docs/php-memcached/*
+
+ # Clean everything not used at the site...
+ rm -rf ${DOCS} COPYING tests docs || die
+ find . -name Makefile -delete || die
+ # and install
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ # If imagemagick is enabled then setup for image upload.
+ # We ensure the directory is prepared for writing.
+ if use imagemagick ; then
+ webapp_serverowned "${MY_HTDOCSDIR}"/images
+ fi
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
+ webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ echo
+ elog "=== Consult the release notes ==="
+ elog "Before doing anything, stop and consult the release notes"
+ elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2"
+ echo
+ elog "These detail bug fixes, new features and functionality, and any"
+ elog "particular points that may need to be noted during the upgrade procedure."
+ echo
+ ewarn "Back up existing files and the database before upgrade."
+ ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
+ ewarn "provides an overview of the backup process."
+ echo
+ fi
+}
diff --git a/www-apps/mediawiki/mediawiki-1.23.9.ebuild b/www-apps/mediawiki/mediawiki-1.23.9.ebuild
new file mode 100644
index 000000000000..04ef11f53e68
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.23.9.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit webapp versionator
+
+MY_BRANCH=$(get_version_component_range 1-2)
+
+DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
+HOMEPAGE="http://www.mediawiki.org"
+SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
+IUSE="imagemagick mysql postgres sqlite"
+
+RDEPEND=">=dev-lang/php-5.3.2[json,mysql?,postgres?,session,xml,xmlreader]
+ imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
+ !imagemagick? ( dev-lang/php[gd] )
+ sqlite? (
+ dev-db/sqlite:3[fts3(+)]
+ >=dev-lang/php-5.3.2[pdo]
+ || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] )
+ )
+ virtual/httpd-php"
+
+need_httpd_cgi
+
+RESTRICT="test"
+
+src_install() {
+ webapp_src_preinst
+
+ # First we install docs and then copy everything left into htdocs dir
+ # to avoid bugs like #236411.
+
+ # We ensure the directories are prepared for writing. The post-
+ # install instructions guide the user to enable the feature.
+ local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE"
+ dodoc ${DOCS} docs/*.txt
+ docinto php-memcached
+ dodoc docs/php-memcached/*
+
+ # Clean everything not used at the site...
+ rm -rf ${DOCS} COPYING tests docs || die
+ find . -name Makefile -delete || die
+ # and install
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ # If imagemagick is enabled then setup for image upload.
+ # We ensure the directory is prepared for writing.
+ if use imagemagick ; then
+ webapp_serverowned "${MY_HTDOCSDIR}"/images
+ fi
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
+ webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ echo
+ elog "=== Consult the release notes ==="
+ elog "Before doing anything, stop and consult the release notes"
+ elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2"
+ echo
+ elog "These detail bug fixes, new features and functionality, and any"
+ elog "particular points that may need to be noted during the upgrade procedure."
+ echo
+ ewarn "Back up existing files and the database before upgrade."
+ ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
+ ewarn "provides an overview of the backup process."
+ echo
+ fi
+}
diff --git a/www-apps/mediawiki/mediawiki-1.24.1.ebuild b/www-apps/mediawiki/mediawiki-1.24.1.ebuild
new file mode 100644
index 000000000000..aded57a5b293
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.24.1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit webapp versionator
+
+MY_BRANCH=$(get_version_component_range 1-2)
+
+DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
+HOMEPAGE="http://www.mediawiki.org"
+SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE="imagemagick mysql postgres sqlite"
+
+RDEPEND=">=dev-lang/php-5.3.2[json,mysql?,postgres?,session,xml,xmlreader]
+ imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
+ !imagemagick? ( dev-lang/php[gd] )
+ sqlite? (
+ dev-db/sqlite:3[fts3(+)]
+ >=dev-lang/php-5.3.2[pdo]
+ || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] )
+ )
+ virtual/httpd-php"
+
+need_httpd_cgi
+
+RESTRICT="test"
+
+src_install() {
+ webapp_src_preinst
+
+ # First we install docs and then copy everything left into htdocs dir
+ # to avoid bugs like #236411.
+
+ # We ensure the directories are prepared for writing. The post-
+ # install instructions guide the user to enable the feature.
+ local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE"
+ dodoc ${DOCS} docs/*.txt
+ docinto php-memcached
+ dodoc docs/php-memcached/*
+
+ # Clean everything not used at the site...
+ rm -rf ${DOCS} COPYING tests docs || die
+ find . -name Makefile -delete || die
+ # and install
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ # If imagemagick is enabled then setup for image upload.
+ # We ensure the directory is prepared for writing.
+ if use imagemagick ; then
+ webapp_serverowned "${MY_HTDOCSDIR}"/images
+ fi
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
+ webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ echo
+ elog "=== Consult the release notes ==="
+ elog "Before doing anything, stop and consult the release notes"
+ elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2"
+ echo
+ elog "These detail bug fixes, new features and functionality, and any"
+ elog "particular points that may need to be noted during the upgrade procedure."
+ echo
+ ewarn "Back up existing files and the database before upgrade."
+ ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
+ ewarn "provides an overview of the backup process."
+ echo
+ fi
+}
diff --git a/www-apps/mediawiki/mediawiki-1.24.2.ebuild b/www-apps/mediawiki/mediawiki-1.24.2.ebuild
new file mode 100644
index 000000000000..aded57a5b293
--- /dev/null
+++ b/www-apps/mediawiki/mediawiki-1.24.2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit webapp versionator
+
+MY_BRANCH=$(get_version_component_range 1-2)
+
+DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)"
+HOMEPAGE="http://www.mediawiki.org"
+SRC_URI="http://releases.wikimedia.org/${PN}/${MY_BRANCH}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE="imagemagick mysql postgres sqlite"
+
+RDEPEND=">=dev-lang/php-5.3.2[json,mysql?,postgres?,session,xml,xmlreader]
+ imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
+ !imagemagick? ( dev-lang/php[gd] )
+ sqlite? (
+ dev-db/sqlite:3[fts3(+)]
+ >=dev-lang/php-5.3.2[pdo]
+ || ( dev-lang/php[sqlite] dev-lang/php[sqlite3] )
+ )
+ virtual/httpd-php"
+
+need_httpd_cgi
+
+RESTRICT="test"
+
+src_install() {
+ webapp_src_preinst
+
+ # First we install docs and then copy everything left into htdocs dir
+ # to avoid bugs like #236411.
+
+ # We ensure the directories are prepared for writing. The post-
+ # install instructions guide the user to enable the feature.
+ local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES-${PV:0:4} UPGRADE"
+ dodoc ${DOCS} docs/*.txt
+ docinto php-memcached
+ dodoc docs/php-memcached/*
+
+ # Clean everything not used at the site...
+ rm -rf ${DOCS} COPYING tests docs || die
+ find . -name Makefile -delete || die
+ # and install
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
+
+ # If imagemagick is enabled then setup for image upload.
+ # We ensure the directory is prepared for writing.
+ if use imagemagick ; then
+ webapp_serverowned "${MY_HTDOCSDIR}"/images
+ fi
+
+ webapp_postinst_txt en "${FILESDIR}/postinstall-1.18-en.txt"
+ webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt"
+ webapp_src_install
+}
+
+pkg_postinst() {
+ webapp_pkg_postinst
+
+ if [[ -n ${REPLACING_VERSIONS} ]]; then
+ echo
+ elog "=== Consult the release notes ==="
+ elog "Before doing anything, stop and consult the release notes"
+ elog "/usr/share/doc/${PF}/RELEASE-NOTES-${PV:0:4}.bz2"
+ echo
+ elog "These detail bug fixes, new features and functionality, and any"
+ elog "particular points that may need to be noted during the upgrade procedure."
+ echo
+ ewarn "Back up existing files and the database before upgrade."
+ ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki"
+ ewarn "provides an overview of the backup process."
+ echo
+ fi
+}
diff --git a/www-apps/mediawiki/metadata.xml b/www-apps/mediawiki/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/mediawiki/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/metadata.xml b/www-apps/metadata.xml
new file mode 100644
index 000000000000..b776a8dbb48a
--- /dev/null
+++ b/www-apps/metadata.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The www-apps category contains various world wide web applications.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría www-apps contiene paquetes relacionados con la world wide
+ web (WWW).
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie www-apps enthält verschiedene WWW-Applikationen wie
+ beispielsweise Wikis, CMS- oder Blogging-Software.
+ </longdescription>
+ <longdescription lang="ja">
+ www-appsカテゴリーには様々なワールド・ワイド・ウェブの
+ アプリケーションが含まれています。
+ </longdescription>
+ <longdescription lang="nl">
+ De www-apps categorie bevat verschillende WWW-applicaties zoals bijvoorbeeld
+ wiki's, CMS- en blogging-software.
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm www-apps chứa các ứng dụng web.
+ </longdescription>
+ <longdescription lang="sk">
+ Táto kategória obsahuje rôzne WWW aplikácie.
+ </longdescription>
+ <longdescription lang="it">
+ La categoria www-apps contiene applicazioni per il world wide
+ web (WWW) come software per wiki, CMS e blog.
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria www-apps contém várias aplicações relacionadas a
+ world wide web (WWW).
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria www-apps zawiera programy związane z przeglądaniem WWW.
+ </longdescription>
+</catmetadata>
+
diff --git a/www-apps/metadot/Manifest b/www-apps/metadot/Manifest
new file mode 100644
index 000000000000..fab77254e33d
--- /dev/null
+++ b/www-apps/metadot/Manifest
@@ -0,0 +1,2 @@
+DIST Metadot6.4.5.4.tar.gz 4055040 SHA256 d125b61d59563d25b2feac8ae692225478130e88f5f9165cf1de34c7985cc785
+DIST metadot6.1.6.tar.gz 3754969 SHA256 d7033b8ad561914714ea3d4d32d745566b291494fd3cfc46f66c496e37c48339
diff --git a/www-apps/metadot/files/metadot.conf b/www-apps/metadot/files/metadot.conf
new file mode 100644
index 000000000000..8dc1e5036944
--- /dev/null
+++ b/www-apps/metadot/files/metadot.conf
@@ -0,0 +1,20 @@
+<VirtualHost VHOST:80>
+ DocumentRoot "ROOTDIR/html"
+
+ <Directory "ROOTDIR/html">
+ Order allow,deny
+ Allow from all
+ </Directory>
+
+ Alias /images/ ROOTDIR/html/images/
+ Alias /js/ ROOTDIR/html/js/
+ Alias /metadot/ ROOTDIR/metadot/
+ Alias /public/ ROOTDIR/sitedata/public/
+ Alias /skins/ ROOTDIR/sitedata/skins/
+
+ <Location "/metadot">
+ SetHandler perl-script
+ PerlHandler Apache::Registry
+ Options +ExecCGI
+ </Location>
+</VirtualHost>
diff --git a/www-apps/metadot/files/postinstall-en-6.1.6.txt b/www-apps/metadot/files/postinstall-en-6.1.6.txt
new file mode 100644
index 000000000000..5a25713e1b02
--- /dev/null
+++ b/www-apps/metadot/files/postinstall-en-6.1.6.txt
@@ -0,0 +1,48 @@
+
+1. Set up your database:
+cd ${MY_INSTALLDIR}/default_data
+If using MySQL-3*: mysql -uroot -p mysql < createdbanduser.sql
+If using MySQL-4*: mysql -uroot -p mysql < createdbanduser4x.sql
+
+Then change the default password:
+mysql -uroot -p mysql
+mysql> update user set password = password('<newpassword>') where user = 'metadot';
+mysql> flush privileges;
+mysql> quit
+
+Now,
+mysql -umetadot -p<newpassword> metadotdb < sampledata.sql
+
+2. Edit the Metadot configuration file:
+edit ${MY_INSTALLDIR}/etc/metadot.conf
+Set your database password from step 1.
+Read the online docs! Especially if you want to use virtual servers.
+
+3. Configure Apache:
+Add the follwing to you apache.conf or .htaccess:
+
+Alias /images/ ${MY_INSTALLDIR}/html/images/
+Alias /js/ ${MY_INSTALLDIR}/html/js/
+Alias /metadot/ ${MY_INSTALLDIR}/metadot/
+Alias /public/ ${MY_INSTALLDIR}/sitedata/public/
+Alias /skins/ ${MY_INSTALLDIR}/sitedata/skins/
+Alias /htmlarea3/ ${MY_INSTALLDIR}/html/htmlarea3/
+
+<Location "/metadot/">
+ SetHandler perl-script
+ PerlHandler Apache::Registry
+ Options +ExecCGI
+</Location>
+
+To quote the docs:
+"Make sure that this directory is owned by apache:apache"
+Read the section about configuring your MIME types.
+Now restart Apache.
+
+4. Configure cronjobs.
+Read the relevant section in the docs, and be sure to specify the right paths.
+HINT: /home/metadot is not used, everything is in ${MY_INSTALLDIR}/${PN}
+
+5. Now go to http://${VHOST_HOSTNAME}/metadot/index.pl
+Hopefully everything worked. Now go read the docs and set up your Metadot, and
+change the default Admin password.
diff --git a/www-apps/metadot/files/postinstall-en-6.4_p3.txt b/www-apps/metadot/files/postinstall-en-6.4_p3.txt
new file mode 100644
index 000000000000..9888bd3509e1
--- /dev/null
+++ b/www-apps/metadot/files/postinstall-en-6.4_p3.txt
@@ -0,0 +1,34 @@
+
+1. Set up your database:
+cd ${MY_INSTALLDIR}/default_data
+If using MySQL-3*: mysql -uroot -p mysql < createdbanduser.sql
+If using MySQL-4*: mysql -uroot -p mysql < createdbanduser4x.sql
+
+Then change the default password:
+mysql -uroot -p mysql
+mysql> update user set password = password('<newpassword>') where user = 'metadot';
+mysql> flush privileges;
+mysql> quit
+
+Now,
+mysql -umetadot -p<newpassword> metadotdb < sampledata.sql
+
+2. Edit the Metadot configuration file:
+edit ${MY_INSTALLDIR}/etc/metadot.conf
+Set your database password from step 1.
+Read the online docs! Especially if you want to use virtual servers.
+
+3. Configure Apache:
+The ebuild installed an Apache configfile: ${VHOST_ROOT}/${PN}.conf
+Copy it into /etc/{apache,apache2}/vhosts.d and edit it to
+suit your needs.
+
+4. Configure cronjobs.
+Read the relevant section in the docs, and be sure to specify the right paths.
+HINT: /home/metadot is not used, everything is in ${MY_INSTALLDIR}
+
+5. Now go to http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/index.pl
+Hopefully everything worked. Now go read the docs and set up your Metadot, and
+change the default Admin password.
+
+Don't forget to read the online docs!!!
diff --git a/www-apps/metadot/files/reconfig-6.1.6 b/www-apps/metadot/files/reconfig-6.1.6
new file mode 100644
index 000000000000..c70721fcbe27
--- /dev/null
+++ b/www-apps/metadot/files/reconfig-6.1.6
@@ -0,0 +1,5 @@
+#!/bin/bash
+if [ $1 = "start" -o $1 = "install" ]; then
+ sed -e "s|skin_template_dir = /home/metadot/metadot/sitedata/skins|skin_template_dir = ${MY_INSTALLDIR}/sitedata/skins|
+ s|public_uploads_dir = /home/metadot/metadot/sitedata/public|public_uploads_dir = ${MY_INSTALLDIR}/sitedata/public|" -i ${MY_INSTALLDIR}/etc/metadot.conf
+fi
diff --git a/www-apps/metadot/files/reconfig-6.4_p3 b/www-apps/metadot/files/reconfig-6.4_p3
new file mode 100644
index 000000000000..f37752ba4a94
--- /dev/null
+++ b/www-apps/metadot/files/reconfig-6.4_p3
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+die() {
+ echo "#####"
+ echo $1
+ echo "#####"
+ exit 1
+}
+
+if [ $1 = "install" ]; then
+ sed -e "s|/home/metadot/metadot|${MY_INSTALLDIR}|g" -i ${MY_INSTALLDIR}/etc/metadot.conf || die
+ # fix Apache configs
+ sed -e "s|ROOTDIR|${MY_INSTALLDIR}|g
+ s|VHOST|${VHOST_HOSTNAME}|" -i ${VHOST_ROOT}/metadot.conf || die
+
+elif [ $1 = "clean" ]; then
+ echo $1
+fi
diff --git a/www-apps/metadot/metadata.xml b/www-apps/metadot/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/metadot/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/metadot/metadot-6.1.6.ebuild b/www-apps/metadot/metadot-6.1.6.ebuild
new file mode 100644
index 000000000000..9d7c2de08aa5
--- /dev/null
+++ b/www-apps/metadot/metadot-6.1.6.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit webapp
+MY_P=${P/-/}
+S=${WORKDIR}/${PN}
+
+IUSE=""
+
+DESCRIPTION="Metadot is a CMS with file, page and link management, and collaboration features"
+HOMEPAGE="http://www.metadot.com"
+SRC_URI="http://download.metadot.com/${MY_P}.tar.gz"
+
+KEYWORDS="~x86 ppc"
+
+RDEPEND="
+ >=dev-lang/perl-5.005
+ >=www-apache/mod_perl-2.0
+ dev-perl/DBI
+ dev-perl/DBD-mysql
+ dev-perl/Apache-DBI
+ dev-perl/XML-RSS
+ virtual/perl-Storable
+ dev-perl/perl-ldap
+ dev-perl/Log-Agent
+ dev-perl/Mail-POP3Client
+ dev-perl/IO-stringy
+ dev-perl/MailTools
+ dev-perl/MIME-tools
+ dev-perl/Unicode-String
+ dev-perl/Spreadsheet-WriteExcel
+ dev-perl/Date-Calc
+ dev-perl/AppConfig
+ dev-perl/ImageSize
+ dev-perl/Template-Toolkit
+ virtual/perl-Time-HiRes
+ dev-perl/Lingua-EN-NameParse
+ dev-perl/Number-Format
+ dev-perl/XML-Simple
+ dev-perl/Text-CSV_XS
+ dev-perl/Archive-Zip
+ dev-perl/DateManip
+"
+
+LICENSE="GPL-2"
+
+src_install() {
+ webapp_src_preinst
+ dodir ${MY_HOSTROOTDIR}/${PN}
+
+ dodoc CHANGELOG README
+ cp -R [[:lower:]][[:lower:]]* "${D}"/${MY_HTDOCSDIR}
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-${PVR}.txt
+ webapp_hook_script "${FILESDIR}"/reconfig-${PVR}
+ webapp_src_install
+}
diff --git a/www-apps/metadot/metadot-6.4.5.4.ebuild b/www-apps/metadot/metadot-6.4.5.4.ebuild
new file mode 100644
index 000000000000..6ca41f9494cf
--- /dev/null
+++ b/www-apps/metadot/metadot-6.4.5.4.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit webapp
+MY_P="Metadot${PV}"
+S=${WORKDIR}/${PN}
+
+IUSE=""
+
+DESCRIPTION="Metadot is a CMS with file, page and link management, and collaboration features"
+HOMEPAGE="http://www.metadot.com"
+SRC_URI="http://download.metadot.com/${MY_P}.tar.gz"
+
+KEYWORDS="ppc ~x86"
+
+DEPEND=""
+RDEPEND="
+ >=dev-lang/perl-5.6
+ =www-apache/mod_perl-2*
+ dev-perl/DBI
+ >=dev-perl/DBD-mysql-2.1027
+ dev-perl/Apache-DBI
+ >=dev-perl/AppConfig-1.55
+ >=dev-perl/XML-RSS-1.02
+ dev-perl/perl-ldap
+ >=dev-perl/Log-Agent-0.304
+ dev-perl/Mail-POP3Client
+ >=dev-perl/IO-stringy-2.108
+ dev-perl/MailTools
+ dev-perl/MIME-tools
+ >=dev-perl/Unicode-String-2.07
+ >=dev-perl/Spreadsheet-WriteExcel-0.41
+ >=dev-perl/Date-Calc-5.3
+ >=dev-perl/ImageSize-2.991
+ >=dev-perl/Template-Toolkit-2.09
+ >=virtual/perl-Time-HiRes-1.48
+ >=virtual/perl-Test-Harness-2.28
+ >=dev-perl/Test-Manifest-0.91
+ >=virtual/perl-Test-Simple-0.47
+ >=dev-perl/Lingua-EN-NameParse-1.18
+ >=dev-perl/Number-Format-1.45
+ >=dev-perl/XML-Simple-2.08
+ dev-perl/XML-Dumper
+ dev-perl/Archive-Zip
+ dev-perl/DateManip
+ dev-perl/Text-CSV_XS
+ dev-perl/HTML-Tree
+ dev-perl/HTML-Format
+ dev-perl/Data-ShowTable
+"
+
+LICENSE="GPL-2"
+
+src_install() {
+ webapp_src_preinst
+
+ dodoc CHANGELOG README
+ cp -R [[:lower:]][[:lower:]]* "${D}"/${MY_HTDOCSDIR}
+
+ cp "${FILESDIR}"/${PN}.conf "${D}"/${MY_HOSTROOTDIR}
+ sed -i "s|Apache::Registry|Modperl::Registry|" \
+ "${D}"/${MY_HOSTROOTDIR}/${PN}.conf
+
+ webapp_serverowned ${MY_HTDOCSDIR}
+ webapp_serverowned ${MY_HTDOCSDIR}/sitedata/public
+
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-6.4_p3.txt
+ webapp_hook_script "${FILESDIR}"/reconfig-6.4_p3
+ webapp_src_install
+}
diff --git a/www-apps/mirmon/Manifest b/www-apps/mirmon/Manifest
new file mode 100644
index 000000000000..28bd857414d2
--- /dev/null
+++ b/www-apps/mirmon/Manifest
@@ -0,0 +1 @@
+DIST mirmon-1.38.tar.gz 33021 RMD160 2f97e90313321d8f9eee14716ce6c4e04cf90ef4 SHA1 874b449a7b7397dd0ff215339051e434a26ee017 SHA256 5defb2c0890d3461a2b8dd8cc3efc4c63c0814c043cb227a69b4a457a38b0ce3
diff --git a/www-apps/mirmon/files/0001-Add-rsync-monitoring-support-to-mirmon.patch b/www-apps/mirmon/files/0001-Add-rsync-monitoring-support-to-mirmon.patch
new file mode 100644
index 000000000000..0c8c69d7795f
--- /dev/null
+++ b/www-apps/mirmon/files/0001-Add-rsync-monitoring-support-to-mirmon.patch
@@ -0,0 +1,87 @@
+https://bugs.gentoo.org/show_bug.cgi?id=289942
+
+From d91f1f17be33dfc5ed771829639791b5463417a2 Mon Sep 17 00:00:00 2001
+From: Jeremy Olexa <darkside@gentoo.org>
+Date: Wed, 28 Oct 2009 20:58:45 -0500
+Subject: [PATCH 1/2] Add rsync monitoring support to mirmon.
+
+You will also need to modify mirmon.conf to use probe-mirmon instead
+Original patch located at: http://www.tug.org/texlive/mirmon/probe-mirmon
+---
+ mirmon | 2 +-
+ probe-mirmon | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 51 insertions(+), 1 deletions(-)
+ create mode 100644 probe-mirmon
+
+diff --git a/mirmon b/mirmon
+index a1261f5..6c0aaa8 100755
+--- a/mirmon
++++ b/mirmon
+@@ -384,7 +384,7 @@ sub get_ccs
+ sub type_site
+ { my $url = shift ;
+ my ( $type, $site, $home ) ;
+- if ( $url =~ m!^(ftp|http)://([^/:]+)(:\d+)?/! )
++ if ( $url =~ m!^(ftp|https?|rsync)://([^/:]+)(:\d+)?/! )
+ { $type = $1 ; $site = $2 ; $home = $& ; }
+ return $type, $site, $home ;
+ }
+diff --git a/probe-mirmon b/probe-mirmon
+new file mode 100644
+index 0000000..a7fe513
+--- /dev/null
++++ b/probe-mirmon
+@@ -0,0 +1,50 @@
++#!/usr/bin/env perl
++# $Id$
++# public domain. Originally written by Karl Berry, 2009.
++#
++# Probe rsync url's for mirmon; use wget for anything else.
++# From description at http://people.cs.uu.nl/henkp/mirmon.
++#
++# Also requires a patch to mirmon itself to accept rsync urls
++# (and I wanted https too):
++# --- /usr/local/share/mirmon/ORIG/mirmon 2007-08-18 18:05:47.000000000 +0200
++# +++ /usr/local/share/mirmon/mirmon 2009-07-03 22:38:00.000000000 +0200
++# @@ -386,3 +386,3 @@
++# my ( $type, $site, $home ) ;
++# - if ( $url =~ m!^(ftp|http)://([^/:]+)(:\d+)?/! )
++# + if ( $url =~ m!^(ftp|https?|rsync)://([^/:]+)(:\d+)?/! )
++# { $type = $1 ; $site = $2 ; $home = $& ; }
++
++exit (&main ());
++
++sub main
++{
++ my ($timeout,$url) = @ARGV;
++ my $ret;
++
++ if ($url =~ m,^rsync://,) {
++ $ret = &handle_rsync ($timeout, $url);
++ } else {
++ $ret = system qq(wget -q -O - -t 1 -T $timeout $url);
++ }
++ return $ret;
++}
++
++
++sub handle_rsync
++{
++ my ($timeout,$url) = @_;
++
++ my $tmpdir = "rsync-tmp";
++ -d $tmpdir || mkdir ($tmpdir, 0700);
++
++ (my $file = $url) =~ s/\W/_/g; # translate all non-letters to _
++ my $local = "$tmpdir/$file";
++ my $ret = system
++ qq(/usr/local/bin/rsync --no-motd --timeout $timeout $url $local);
++
++ @ARGV = ($local); # don't care about our args any more.
++ print <>; # let perl autoprint
++
++ return $ret;
++}
+--
+1.6.4.4
+
diff --git a/www-apps/mirmon/files/0002-Add-ipv6-monitor-support-to-mirmon.patch b/www-apps/mirmon/files/0002-Add-ipv6-monitor-support-to-mirmon.patch
new file mode 100644
index 000000000000..3742d30825b7
--- /dev/null
+++ b/www-apps/mirmon/files/0002-Add-ipv6-monitor-support-to-mirmon.patch
@@ -0,0 +1,41 @@
+https://bugs.gentoo.org/show_bug.cgi?id=289943
+
+From ab302148275a973c3fccd164fa1ae4b4c4409d21 Mon Sep 17 00:00:00 2001
+From: Jeremy Olexa <darkside@gentoo.org>
+Date: Wed, 28 Oct 2009 21:04:39 -0500
+Subject: [PATCH 2/2] Add ipv6 monitor support to mirmon
+
+This patch will overload the gethost() function provided by perl in such a way
+that it uses gethostbyname2() from Socket6, which is a new dependency.
+
+Original patch by: Kent Fredric
+---
+ mirmon | 12 +++++++++++-
+ 1 files changed, 11 insertions(+), 1 deletions(-)
+
+diff --git a/mirmon b/mirmon
+index 6c0aaa8..50d40ca 100755
+--- a/mirmon
++++ b/mirmon
+@@ -30,7 +30,17 @@ my $VER = '# $Id$
+ use strict ;
+ use IO::Pipe ;
+ use IO::Select ;
+-use Net::hostent ;
++
++use Socket;
++use Socket6;
++use Data::Dumper qw( Dumper );
++
++sub gethost($){
++ my $url = shift;
++ return 1 if gethostbyname2 $url, AF_INET;
++ return 1 if gethostbyname2 $url, AF_INET6;
++ return 0;
++}
+
+ my $DEF_CNF = "/etc/$PRG.conf" ;
+
+--
+1.6.4.4
+
diff --git a/www-apps/mirmon/metadata.xml b/www-apps/mirmon/metadata.xml
new file mode 100644
index 000000000000..f4fcc1b3b231
--- /dev/null
+++ b/www-apps/mirmon/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>
+ <email>mirror-admin@gentoo.org</email>
+ </maintainer>
+<longdescription>Simple graphical mirror monitor with html output to analyze whether data is being kept in sync.</longdescription>
+</pkgmetadata>
diff --git a/www-apps/mirmon/mirmon-1.38-r4.ebuild b/www-apps/mirmon/mirmon-1.38-r4.ebuild
new file mode 100644
index 000000000000..f4f497321058
--- /dev/null
+++ b/www-apps/mirmon/mirmon-1.38-r4.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit webapp eutils
+WEBAPP_MANUAL_SLOT="yes"
+
+DESCRIPTION="Simple webapp to monitor the status of mirrors"
+HOMEPAGE="http://people.cs.uu.nl/henkp/mirmon/"
+SRC_URI="http://people.cs.uu.nl/henkp/mirmon/src/$PN/src/$P.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/perl-5.8.5-r2"
+RDEPEND="${DEPEND}
+ dev-perl/File-Tempdir
+ dev-perl/Socket6"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/0001-Add-rsync-monitoring-support-to-mirmon.patch" \
+ "${FILESDIR}/0002-Add-ipv6-monitor-support-to-mirmon.patch"
+ # set the proper interpreter
+ sed -i -e 's:/sw/bin/perl:/usr/bin/perl:' mirmon || die
+}
+
+src_install() {
+ # Don't install empty dirs
+ MY_CGIBINDIR=""
+ MY_ICONSDIR=""
+ MY_ERRORSDIR=""
+
+ webapp_src_preinst
+
+ for file in mirmon.html mirmon.txt; do
+ dodoc ${file}
+ rm -f ${file}
+ done
+ cp -R icons "${D}"/${MY_HTDOCSDIR}
+ rm -rf icons
+ cp -R . "${D}"/${MY_HOSTROOTDIR}
+
+ webapp_src_install
+}
diff --git a/www-apps/mod_survey/Manifest b/www-apps/mod_survey/Manifest
new file mode 100644
index 000000000000..b63844e05bb9
--- /dev/null
+++ b/www-apps/mod_survey/Manifest
@@ -0,0 +1,2 @@
+DIST modsurvey-3.2.5.tgz 508271 SHA256 5ad6f0de509e09a6842e3a56372f40122800397befed10dd78b37c4c0676e47b
+DIST modsurvey-docs-3.2.5.tgz 678356 SHA256 53c0e0d4335ded221c30fa52c4202793b86aef370d7b92341fb4fcaac12c1fd6
diff --git a/www-apps/mod_survey/files/98_mod_survey.conf b/www-apps/mod_survey/files/98_mod_survey.conf
new file mode 100644
index 000000000000..1791c5a88f8e
--- /dev/null
+++ b/www-apps/mod_survey/files/98_mod_survey.conf
@@ -0,0 +1,115 @@
+# -----------------------------------------
+# Config new for 32x
+# -----------------------------------------
+
+PerlSetEnv _SURVEY_ALLOWED_EXPORTS "html,spss,sql,delim,fixed,xml,r"
+PerlSetEnv _SURVEY_OPTIONAL_EXPORTS "browse,desc,freq,gfreq"
+PerlSetEnv _SURVEY_EXPORT_html "Survey::Export::HtmlTables"
+PerlSetEnv _SURVEY_EXPORT_spss "Survey::Export::SPSS"
+PerlSetEnv _SURVEY_EXPORT_xml "Survey::Export::XML"
+PerlSetEnv _SURVEY_EXPORT_sql "Survey::Export::SQL"
+PerlSetEnv _SURVEY_EXPORT_delim "Survey::Export::DelimitedFields"
+PerlSetEnv _SURVEY_EXPORT_fixed "Survey::Export::FixedColumns"
+PerlSetEnv _SURVEY_EXPORT_r "Survey::Export::R"
+PerlSetEnv _SURVEY_EXPORT_browse "Survey::Export::CaseBrowser"
+PerlSetEnv _SURVEY_EXPORT_desc "Survey::Export::Descriptive"
+PerlSetEnv _SURVEY_EXPORT_freq "Survey::Export::Frequency"
+PerlSetEnv _SURVEY_EXPORT_gfreq "Survey::Export::GroupedFrequency"
+
+# -----------------------------------------
+# Mail settings
+# -----------------------------------------
+
+PerlSetEnv _SURVEY_SMTP_HOST "127.0.0.1"
+PerlSetEnv _SURVEY_MAIL_ADMIN "root@localhost"
+
+# -----------------------------------------
+# Set global survey configuration variables
+# -----------------------------------------
+
+# Directory where caches, autodata files and keys should be stored
+PerlSetEnv _SURVEY_SYSBASE "/var/lib/mod_survey/"
+
+# Whether parser is allowed to write and read cache at all (overrides
+# ALLOWCACHE in survey docs if set to 0)
+PerlSetEnv _SURVEY_PARSERCACHE 1
+
+# Whether display module is allowed to write and read html output cache
+# (overrides ALLOWCACHE in survey docs if set to 0)
+PerlSetEnv _SURVEY_DISPLAYCACHE 1
+
+# Where mod_survey is installed
+PerlSetEnv _SURVEY_HOME "/usr/lib/mod_survey/"
+
+# Where mod_survey web root is
+PerlSetEnv _SURVEY_ROOT "/var/www/mod_survey/"
+
+# Which root alias to use for doc links and similar
+PerlSetEnv _SURVEY_ROOT_ALIAS "/mod_survey/"
+
+# Whether we have installed on a sensible (unixoid) system
+PerlSetEnv _SURVEY_SENSIBLE 1
+
+# -------------------------
+# Security related settings
+# -------------------------
+
+# If you plan to use DBI tables, you must install DBI 1.13 or later and
+# set the below to 1. Even if you have DBI installed, you may want to
+# choose to not enable it in Mod_Survey for security reasons.
+PerlSetEnv _SURVEY_USEDBI 1
+
+# Whether is is allowed to let system automatically handle data submission
+# It would a stupid idea to change this unless you know what you are doing.
+PerlSetEnv _SURVEY_ALLOWAUTO 1
+
+# Whether submit should protest at illegal characters and ask the user
+# to go back and correct these. This will be ignored if _SURVEY_USENEWAUTo
+PerlSetEnv _SURVEY_PROTESTILLEGAL 1
+
+# Whether to use safe delimiters in the AutoData file. This makes things
+# safer, but also makes the AutoData file partially binary. Most users
+# want to enable this.
+PerlSetEnv _SURVEY_USENEWAUTO 1
+
+# -------------------------------------
+# Internationalization related settings
+# -------------------------------------
+
+# Where to find language files
+PerlSetEnv _SURVEY_LANG_DIRECTORY "/usr/lib/mod_survey/Lang/"
+
+# Which language to use
+PerlSetEnv _SURVEY_LANG "en"
+
+# ---------------------------------------------------
+# Startup check and addition of survey folder to @INC
+# ---------------------------------------------------
+
+PerlRequire "/usr/lib/mod_survey/startup.pl"
+
+# --------------------------------------------------------------------
+# Add type for survey files. If you change this, please change pattern
+# for the files tag below too
+# --------------------------------------------------------------------
+
+AddType text/html .survey
+
+# ---------------------------------------------------------------
+# Match all files containing ".survey" (tail "*" is necessary for
+# admin part). Enclosure in Directory necessary to avoid clash with
+# mod_proxy.
+# ---------------------------------------------------------------
+
+<Directory "/">
+ <Files *.survey*>
+ SetHandler perl-script
+ PerlHandler Survey::Handler
+ PerlSendHeader "Off"
+ AuthType Basic
+ AuthName Mod_Survey
+ PerlAuthenHandler Apache::AuthAny
+ </Files>
+</Directory>
+
+# vim: ts=4 filetype=apache
diff --git a/www-apps/mod_survey/files/language-list.txt b/www-apps/mod_survey/files/language-list.txt
new file mode 100644
index 000000000000..d81291db4473
--- /dev/null
+++ b/www-apps/mod_survey/files/language-list.txt
@@ -0,0 +1,5 @@
+en
+de
+fr
+it
+sw
diff --git a/www-apps/mod_survey/files/postinstall-en.txt b/www-apps/mod_survey/files/postinstall-en.txt
new file mode 100644
index 000000000000..5fbe29c5a59c
--- /dev/null
+++ b/www-apps/mod_survey/files/postinstall-en.txt
@@ -0,0 +1,4 @@
+0. Copy ${VHOST_ROOT}/${PN}/survey.conf to your Apache modules directory.
+
+1. Restart Apache and test your installation:
+ http://${VHOST_HOSTNAME}/mod_survey
diff --git a/www-apps/mod_survey/files/reconfig b/www-apps/mod_survey/files/reconfig
new file mode 100644
index 000000000000..15be772473f0
--- /dev/null
+++ b/www-apps/mod_survey/files/reconfig
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+die() {
+ echo "#####"
+ echo $1
+ echo "#####"
+ exit 1
+}
+
+if [ $1 = "install" ]; then
+ sed -e "s|/usr/lib/mod_survey/webroot/|${MY_INSTALLDIR}/|g
+ s|\"/mod_survey/\"|\"${VHOST_APPDIR}/\"|
+ s|Alias|#Alias|" -i ${VHOST_ROOT}/${PN}/survey.conf || die
+
+elif [ $1 = "clean" ]; then
+ echo $1
+fi
diff --git a/www-apps/mod_survey/metadata.xml b/www-apps/mod_survey/metadata.xml
new file mode 100644
index 000000000000..6632069b5aff
--- /dev/null
+++ b/www-apps/mod_survey/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/mod_survey/mod_survey-3.2.5.ebuild b/www-apps/mod_survey/mod_survey-3.2.5.ebuild
new file mode 100644
index 000000000000..10f5cf90df91
--- /dev/null
+++ b/www-apps/mod_survey/mod_survey-3.2.5.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit depend.apache webapp
+
+WEBAPP_MANUAL_SLOT="yes"
+SLOT="0"
+
+MY_PN=${PN/_/}
+
+DESCRIPTION="XML-defined web questionnaires as a plug-in module using Apache"
+HOMEPAGE="http://www.modsurvey.org"
+SRC_URI="http://www.modsurvey.org/download/tarballs/${MY_PN}-${PV}.tgz
+ doc? ( http://www.modsurvey.org/download/tarballs/${MY_PN}-docs-${PV}.tgz )"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc mysql nls postgres"
+
+LANGS="en de fr it sv"
+for i in ${LANGS}; do
+ IUSE="${IUSE} linguas_${i}"
+done
+
+DEPEND=">=dev-lang/perl-5.6.1"
+RDEPEND="${DEPEND}
+ >=www-apache/mod_perl-1.99
+ postgres? ( >=dev-perl/DBI-1.38 dev-perl/DBD-Pg )
+ mysql? ( >=dev-perl/DBI-1.38 dev-perl/DBD-mysql )
+ >=dev-perl/CGI-3.0.0"
+
+S="${WORKDIR}"/${MY_PN}-${PV}
+
+pkg_setup() {
+ webapp_pkg_setup
+ has_apache
+
+ if use nls; then
+ for i in ${LINGUAS}; do
+ if has linguas_${i} ${IUSE}; then
+ if use linguas_${i}; then
+ locallang="${i}"
+ ewarn "${i} from the LINGUAS variable has been set as the"
+ ewarn "default language. This can be overriden on a"
+ ewarn "per-survey basis, or changed in"
+ ewarn "${APACHE_MODULES_CONFDIR}/98_${PN}.conf"
+ ewarn
+ break
+ fi
+ else
+ einfo "LINGUAS=${i} is not supported by ${P}"
+ shift
+ fi
+ done
+ fi
+
+ if [[ -z ${locallang} ]]; then
+ [[ -n "${LINGUAS}" ]] && ewarn "None of ${LINGUAS} supported."
+ use nls && ewarn "Will use English as default language."
+ locallang="en"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i \
+ -e "s|\$lang = \"en\"|\$lang = \"${locallang}\"|" \
+ -e "s|/usr/local/mod_survey/|${D}/usr/lib/mod_survey/|g" \
+ installer.pl
+
+ rm -f docs/LICENSE.txt
+ use doc && unpack ${MY_PN}-docs-${PV}.tgz
+}
+
+src_install() {
+ webapp_src_preinst
+
+ dodir /usr/lib/mod_survey
+ dodir /var/lib/mod_survey
+
+ dodoc README.txt docs/*
+ rm -rf README.txt docs/
+
+ insinto /usr/share/doc/${PF}
+ doins -r webroot/examples*
+ rm -rf webroot/examples*
+
+ perl installer.pl < /dev/null > /dev/null 2>&1
+ rm -rf "${D}"/usr/lib/mod_survey/{survey.conf,data,docs,webroot}
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r webroot/{main.css,system}
+
+ insinto "${APACHE_MODULES_CONFDIR}"
+ doins "${FILESDIR}"/98_${PN}.conf
+
+ fowners apache:apache /var/lib/mod_survey
+
+ webapp_src_install
+}
diff --git a/www-apps/moinmoin/Manifest b/www-apps/moinmoin/Manifest
new file mode 100644
index 000000000000..05e143a03449
--- /dev/null
+++ b/www-apps/moinmoin/Manifest
@@ -0,0 +1 @@
+DIST moin-1.9.7.tar.gz 36911772 SHA256 f4ba1b5c956bd96d2a61e27e68d297aa63d1afbc80d5740e139dcdf0affb4db5 SHA512 5cb6c205fb0c18b83fe7cee83bf88098bfbbc357c89004f8b7cf484bd7efd35af4ace78d0e80df71b01f70861e8bbb63aeefdd831768989d5b7f511ca24fb60c WHIRLPOOL 8f7919e1672a9a192249221864b1ac8cda47eb75e6f328485ef54ae45d344beeaac8070b281f7612f59795e359ad93bdf060e4930411ee7509ec77aa5396c30a
diff --git a/www-apps/moinmoin/files/postinstall-en-1.9.4.txt b/www-apps/moinmoin/files/postinstall-en-1.9.4.txt
new file mode 100644
index 000000000000..6a6baf764ead
--- /dev/null
+++ b/www-apps/moinmoin/files/postinstall-en-1.9.4.txt
@@ -0,0 +1,16 @@
+Now please read the installation manual at
+/usr/share/doc/${PF}/html
+
+MoinMoin can work with a variety of webservers. Simple Apache instructions
+are given below:
+
+1. ExecCGI needs to be enabled in your Moinmoin directory by doing:
+# echo "Options ExecCGI" > ${MY_INSTALLDIR}/.htaccess
+# echo "AddHandler cgi-script .cgi" >> ${MY_INSTALLDIR}/.htaccess
+
+2. Add the following lines to your Apache configs:
+ScriptAlias /mywiki "${MY_INSTALLDIR}/moin.cgi"
+
+3. Restart Apache
+
+4. Go to http://${VHOST_HOSTNAME}/mywiki/ and follow the instructions there.
diff --git a/www-apps/moinmoin/files/reconfig-1.9.4 b/www-apps/moinmoin/files/reconfig-1.9.4
new file mode 100644
index 000000000000..698da419fdb5
--- /dev/null
+++ b/www-apps/moinmoin/files/reconfig-1.9.4
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+die() {
+ echo "#####"
+ echo $1
+ echo "#####"
+ exit 1
+}
+
+if [ $1 = "install" ]; then
+ sed -e "s|^#\(.*\)/path/to/wikiconfigdir|\1${VHOST_ROOT}/${PN}-${PVR}|g" -i ${MY_INSTALLDIR}/moin.cgi || die "sed failed"
+ sed -e "s|#url_prefix_static|url_prefix_static|" -i ${VHOST_ROOT}/${PN}-${PVR}/wikiconfig.py || die "sed failed"
+ sed -e "s|//|/|" -i ${VHOST_ROOT}/${PN}-${PVR}/wikiconfig.py || die "sed failed"
+
+elif [ $1 = "clean" ]; then
+ echo $1
+fi
diff --git a/www-apps/moinmoin/metadata.xml b/www-apps/moinmoin/metadata.xml
new file mode 100644
index 000000000000..95c06f0095bb
--- /dev/null
+++ b/www-apps/moinmoin/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+</pkgmetadata>
diff --git a/www-apps/moinmoin/moinmoin-1.9.7-r1.ebuild b/www-apps/moinmoin/moinmoin-1.9.7-r1.ebuild
new file mode 100644
index 000000000000..66fb239d363a
--- /dev/null
+++ b/www-apps/moinmoin/moinmoin-1.9.7-r1.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+DISTUTILS_SINGLE_IMPL=1
+
+inherit eutils distutils-r1 webapp
+
+MY_PN="moin"
+
+DESCRIPTION="Python WikiClone"
+HOMEPAGE="http://moinmo.in/"
+SRC_URI="http://static.moinmo.in/files/${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc x86"
+
+RDEPEND=">=dev-python/docutils-0.4[${PYTHON_USEDEP}]
+ >=dev-python/flup-1.0.2[${PYTHON_USEDEP}]
+ >=dev-python/pygments-1.1.1[${PYTHON_USEDEP}]
+ >=dev-python/werkzeug-0.7.0[${PYTHON_USEDEP}]"
+
+need_httpd_cgi
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+WEBAPP_MANUAL_SLOT="yes"
+
+pkg_setup() {
+ if has_version "<www-apps/moinmoin-1.9" ; then
+ ewarn
+ ewarn "You already have a version of moinmoin prior to 1.9 installed."
+ ewarn "moinmoin-1.9 has a very different configuration than 1.8 (among"
+ ewarn "other changes, static content is no longer installed under the"
+ ewarn "htdocs directory)."
+ ewarn
+ ewarn "Please read http://moinmo.in/MoinMoinRelease1.9 and"
+ ewarn "README.migration in /usr/share/doc/${PF}"
+ ewarn
+ fi
+
+ webapp_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ # remove bundled -- parsedatetime and xappy not packaged yet
+ rm -r MoinMoin/support/{pygments,werkzeug,flup} || die
+ sed -i "/\(flup\|pygments\|werkzeug\)/d" setup.py || die
+
+ # needed for python_fix_shebang
+ edos2unix MoinMoin/web/static/htdocs/applets/FCKeditor/editor/filemanager/connectors/py/*.py
+
+ distutils-r1_src_prepare
+}
+
+src_install() {
+ webapp_src_preinst
+ distutils-r1_src_install
+
+ dodoc README docs/CHANGES* docs/README.migration
+ dohtml docs/INSTALL.html
+ rm -rf README docs/
+
+ cd "${D}"/usr/share/moin
+
+ insinto "${MY_HTDOCSDIR}"
+ doins -r server/moin.cgi
+ fperms +x "${MY_HTDOCSDIR}/moin.cgi"
+
+ insinto "${MY_HOSTROOTDIR}"/${PF}
+ doins -r data underlay config/wikiconfig.py
+
+ insinto "${MY_HOSTROOTDIR}"/${PF}/altconfigs
+ doins -r config
+
+ insinto "${MY_HOSTROOTDIR}"/${PF}/altserver
+ doins -r server
+
+ # data needs to be server owned per moin devs
+ cd "${D}/${MY_HOSTROOTDIR}"/${PF}
+ for file in $(find data underlay); do
+ webapp_serverowned "${MY_HOSTROOTDIR}/${PF}/${file}"
+ done
+
+ webapp_configfile "${MY_HOSTROOTDIR}"/${PF}/wikiconfig.py
+ webapp_hook_script "${FILESDIR}"/reconfig-1.9.4
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-1.9.4.txt
+
+ webapp_src_install
+
+ # bug 466390
+ python_fix_shebang "${D}"
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "If you are upgrading from an older version, please read"
+ ewarn "README.migration in /usr/share/doc/${PF}"
+ ewarn
+
+ distutils_pkg_postinst
+ webapp_pkg_postinst
+}
diff --git a/www-apps/moodle/Manifest b/www-apps/moodle/Manifest
new file mode 100644
index 000000000000..82bf15da691e
--- /dev/null
+++ b/www-apps/moodle/Manifest
@@ -0,0 +1,3 @@
+DIST moodle-2.7.9.tgz 34986369 SHA256 d746bfacd44bc7b33ed7cff12b7189bd2021e809a4a64836f124c4ae75d08a7d SHA512 76d74dc0b19959b935c12138d81501f55cf34bdf8b62c82d21ac4f02e4290ceecac2b9f17adb7b07b2ec72f1d39a3f2b5a42b01b03a7fce58a6d242a945ff626 WHIRLPOOL baee4892b49c580a2c9de060b7ccd3e6eb397e24bdf8ac69accb46d2553ac651546af86be7537b28ce36f9378d35eeb75d569fb81acba94cd7bb9a0493ca72c3
+DIST moodle-2.8.7.tgz 35867384 SHA256 cd4cf38bb329cad3575d32e6692c9cdba97b25d7b09d2aaf0b20aa5fac2878f4 SHA512 4c6d71225c825568ab9a4137153274cedb30905ff70b58c35299606c7101b45e8f32c969cdaada6e5fe86d015de94b057389597dea017ac7d8d5122b71e90cab WHIRLPOOL 66bad29da03d0c7f8d2a009efb1b241289a56c193180f13ab1c5bb7953e03c03f326af6e96365a23192443197d9edae0d65980c7c85a97a5634092ab7d1e557f
+DIST moodle-2.9.1.tgz 36340544 SHA256 bfc9398904809ed6041e8bcbdb75d7bc1917d5a0ff47fd0069812d783e03c020 SHA512 5875c78bc7f16eca15df5dc052eee8748e26799337e76b344d49a6c7b79c1fc1c3acddf716df37cd38cfb595e3deab24aee88b3198d4b1076ce09ea2316d0456 WHIRLPOOL 2b1ea95ea90baaa92f236ab9a2701bcb330be8b85c3a23d5c4fffb677b899f5e7a1847be4a6c0410300167b41e8bea03b0240e137d3bbdb4bb7475d48ff642d7
diff --git a/www-apps/moodle/files/config-r1.php b/www-apps/moodle/files/config-r1.php
new file mode 100644
index 000000000000..7eef454b7dfc
--- /dev/null
+++ b/www-apps/moodle/files/config-r1.php
@@ -0,0 +1,36 @@
+<?php
+unset($CFG); // Ignore this line
+global $CFG; // This is necessary here for PHPUnit execution
+$CFG = new stdClass();
+
+$CFG->dbtype = 'mydb';