From 4638f990ceb4b314ce15ddfcfeeb638432273c95 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 18 Dec 2015 10:33:16 +0100 Subject: initial import --- .gitignore | 10 + .htaccess | 1 + RPM-GPG-KEY-remi | 24 ++ check.php | 207 +++++++++++++++++ enterprise/4/remi/mirror | 4 + enterprise/4/test/mirror | 4 + enterprise/5/php55/mirror | 28 +++ enterprise/5/php56/mirror | 28 +++ enterprise/5/remi/mirror | 28 +++ enterprise/5/safe/mirror | 28 +++ enterprise/5/test/mirror | 28 +++ enterprise/6/php55/mirror | 28 +++ enterprise/6/php56/mirror | 28 +++ enterprise/6/php70/mirror | 28 +++ enterprise/6/remi/mirror | 28 +++ enterprise/6/safe/mirror | 28 +++ enterprise/6/test/mirror | 28 +++ enterprise/6/test70/mirror | 28 +++ enterprise/7/php55/mirror | 28 +++ enterprise/7/php56/mirror | 28 +++ enterprise/7/php70/mirror | 28 +++ enterprise/7/remi/mirror | 28 +++ enterprise/7/safe/mirror | 28 +++ enterprise/7/test/mirror | 28 +++ enterprise/7/test70/mirror | 28 +++ favicon.ico | Bin 0 -> 1406 bytes fedora/10/remi/mirror | 2 + fedora/10/test/mirror | 2 + fedora/11/remi/mirror | 2 + fedora/11/test/mirror | 2 + fedora/12/remi/mirror | 2 + fedora/12/test/mirror | 2 + fedora/13/remi/mirror | 2 + fedora/13/test/mirror | 2 + fedora/14/remi/mirror | 2 + fedora/14/test/mirror | 2 + fedora/15/remi/mirror | 2 + fedora/15/test/mirror | 2 + fedora/16/remi/mirror | 2 + fedora/16/test/mirror | 2 + fedora/17/remi/mirror | 2 + fedora/17/test/mirror | 2 + fedora/18/remi/mirror | 27 +++ fedora/18/test/mirror | 27 +++ fedora/19/php56/mirror | 27 +++ fedora/19/remi/mirror | 27 +++ fedora/19/test/mirror | 27 +++ fedora/20/php56/mirror | 27 +++ fedora/20/remi/mirror | 27 +++ fedora/20/test/mirror | 27 +++ fedora/21/php70/mirror | 27 +++ fedora/21/remi/mirror | 27 +++ fedora/21/test/mirror | 27 +++ fedora/22/php70/mirror | 27 +++ fedora/22/remi/mirror | 27 +++ fedora/22/test/mirror | 27 +++ fedora/23/php70/mirror | 27 +++ fedora/23/remi/mirror | 27 +++ fedora/23/test/mirror | 27 +++ fedora/3/remi/mirror | 2 + fedora/3/test/mirror | 2 + fedora/4/remi/mirror | 2 + fedora/4/test/mirror | 2 + fedora/5/remi/mirror | 2 + fedora/5/test/mirror | 2 + fedora/6/remi/mirror | 2 + fedora/6/test/mirror | 2 + fedora/7/remi/mirror | 2 + fedora/7/test/mirror | 2 + fedora/8/remi/mirror | 2 + fedora/8/test/mirror | 2 + fedora/9/remi/mirror | 2 + fedora/9/test/mirror | 2 + hostedby.png | Bin 0 -> 21856 bytes index.html | 308 +++++++++++++++++++++++++ mashinfo.el6 | 309 +++++++++++++++++++++++++ mashinfo.el7 | 403 +++++++++++++++++++++++++++++++++ mashrepo | 55 +++++ mirror | 95 ++++++++ move | 16 ++ repotmpl/group.kid | 80 +++++++ repotmpl/group.pyc | Bin 0 -> 14652 bytes repotmpl/index.kid | 93 ++++++++ repotmpl/index.pyc | Bin 0 -> 16024 bytes repotmpl/layout/favicon.ico | Bin 0 -> 1406 bytes repotmpl/layout/images/footer.png | Bin 0 -> 170 bytes repotmpl/layout/images/li.png | Bin 0 -> 154 bytes repotmpl/layout/images/monkey.png | Bin 0 -> 32904 bytes repotmpl/layout/images/package.png | Bin 0 -> 2456 bytes repotmpl/layout/images/rss.png | Bin 0 -> 549 bytes repotmpl/layout/images/sidebar_li.png | Bin 0 -> 115 bytes repotmpl/layout/images/top.jpg | Bin 0 -> 451 bytes repotmpl/layout/images/top_gar.jpg | Bin 0 -> 7966 bytes repotmpl/layout/images/top_monkey.png | Bin 0 -> 13774 bytes repotmpl/layout/images/top_prelude.jpg | Bin 0 -> 2062 bytes repotmpl/layout/images/w3c-css20.png | Bin 0 -> 273 bytes repotmpl/layout/images/w3c-xhtml10.png | Bin 0 -> 270 bytes repotmpl/layout/repostyle.css | 312 +++++++++++++++++++++++++ repotmpl/package.kid | 108 +++++++++ repotmpl/package.pyc | Bin 0 -> 18269 bytes repotmpl/refresh | 3 + repotmpl/rss.kid | 33 +++ repotmpl/rss.pyc | Bin 0 -> 6079 bytes wizard/index.php | 225 ++++++++++++++++++ 104 files changed, 3341 insertions(+) create mode 100644 .gitignore create mode 100644 .htaccess create mode 100644 RPM-GPG-KEY-remi create mode 100644 check.php create mode 100644 enterprise/4/remi/mirror create mode 100644 enterprise/4/test/mirror create mode 100644 enterprise/5/php55/mirror create mode 100644 enterprise/5/php56/mirror create mode 100644 enterprise/5/remi/mirror create mode 100644 enterprise/5/safe/mirror create mode 100644 enterprise/5/test/mirror create mode 100644 enterprise/6/php55/mirror create mode 100644 enterprise/6/php56/mirror create mode 100644 enterprise/6/php70/mirror create mode 100644 enterprise/6/remi/mirror create mode 100644 enterprise/6/safe/mirror create mode 100644 enterprise/6/test/mirror create mode 100644 enterprise/6/test70/mirror create mode 100644 enterprise/7/php55/mirror create mode 100644 enterprise/7/php56/mirror create mode 100644 enterprise/7/php70/mirror create mode 100644 enterprise/7/remi/mirror create mode 100644 enterprise/7/safe/mirror create mode 100644 enterprise/7/test/mirror create mode 100644 enterprise/7/test70/mirror create mode 100644 favicon.ico create mode 100644 fedora/10/remi/mirror create mode 100644 fedora/10/test/mirror create mode 100644 fedora/11/remi/mirror create mode 100644 fedora/11/test/mirror create mode 100644 fedora/12/remi/mirror create mode 100644 fedora/12/test/mirror create mode 100644 fedora/13/remi/mirror create mode 100644 fedora/13/test/mirror create mode 100644 fedora/14/remi/mirror create mode 100644 fedora/14/test/mirror create mode 100644 fedora/15/remi/mirror create mode 100644 fedora/15/test/mirror create mode 100644 fedora/16/remi/mirror create mode 100644 fedora/16/test/mirror create mode 100644 fedora/17/remi/mirror create mode 100644 fedora/17/test/mirror create mode 100644 fedora/18/remi/mirror create mode 100644 fedora/18/test/mirror create mode 100644 fedora/19/php56/mirror create mode 100644 fedora/19/remi/mirror create mode 100644 fedora/19/test/mirror create mode 100644 fedora/20/php56/mirror create mode 100644 fedora/20/remi/mirror create mode 100644 fedora/20/test/mirror create mode 100644 fedora/21/php70/mirror create mode 100644 fedora/21/remi/mirror create mode 100644 fedora/21/test/mirror create mode 100644 fedora/22/php70/mirror create mode 100644 fedora/22/remi/mirror create mode 100644 fedora/22/test/mirror create mode 100644 fedora/23/php70/mirror create mode 100644 fedora/23/remi/mirror create mode 100644 fedora/23/test/mirror create mode 100644 fedora/3/remi/mirror create mode 100644 fedora/3/test/mirror create mode 100644 fedora/4/remi/mirror create mode 100644 fedora/4/test/mirror create mode 100644 fedora/5/remi/mirror create mode 100644 fedora/5/test/mirror create mode 100644 fedora/6/remi/mirror create mode 100644 fedora/6/test/mirror create mode 100644 fedora/7/remi/mirror create mode 100644 fedora/7/test/mirror create mode 100644 fedora/8/remi/mirror create mode 100644 fedora/8/test/mirror create mode 100644 fedora/9/remi/mirror create mode 100644 fedora/9/test/mirror create mode 100644 hostedby.png create mode 100644 index.html create mode 100644 mashinfo.el6 create mode 100644 mashinfo.el7 create mode 100755 mashrepo create mode 100755 mirror create mode 100755 move create mode 100644 repotmpl/group.kid create mode 100644 repotmpl/group.pyc create mode 100644 repotmpl/index.kid create mode 100644 repotmpl/index.pyc create mode 100644 repotmpl/layout/favicon.ico create mode 100644 repotmpl/layout/images/footer.png create mode 100644 repotmpl/layout/images/li.png create mode 100644 repotmpl/layout/images/monkey.png create mode 100644 repotmpl/layout/images/package.png create mode 100644 repotmpl/layout/images/rss.png create mode 100644 repotmpl/layout/images/sidebar_li.png create mode 100644 repotmpl/layout/images/top.jpg create mode 100644 repotmpl/layout/images/top_gar.jpg create mode 100644 repotmpl/layout/images/top_monkey.png create mode 100644 repotmpl/layout/images/top_prelude.jpg create mode 100644 repotmpl/layout/images/w3c-css20.png create mode 100644 repotmpl/layout/images/w3c-xhtml10.png create mode 100644 repotmpl/layout/repostyle.css create mode 100644 repotmpl/package.kid create mode 100644 repotmpl/package.pyc create mode 100644 repotmpl/refresh create mode 100644 repotmpl/rss.kid create mode 100644 repotmpl/rss.pyc create mode 100644 wizard/index.php diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..cc49fc2f --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +priv/ +temp/ +work/ +*.tgz +fedora/ +enterprise/ +SRPMS/ +.Trash-100/ +.createrepocache/ +send* diff --git a/.htaccess b/.htaccess new file mode 100644 index 00000000..71b2aa03 --- /dev/null +++ b/.htaccess @@ -0,0 +1 @@ +AddType application/x-rpm .rpm diff --git a/RPM-GPG-KEY-remi b/RPM-GPG-KEY-remi new file mode 100644 index 00000000..32833860 --- /dev/null +++ b/RPM-GPG-KEY-remi @@ -0,0 +1,24 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Version: GnuPG v1.4.7 (GNU/Linux) + +mQGiBEJny1wRBACRnbQgZ6qLmJSuGvi/EwrRL6aW610BbdpLQRL3dnwy5wI5t9T3 +/JEiEJ7GTvAwfiisEHifMfk2sRlWRf2EDQFttHyrrYXfY5L6UAF2IxixK5FL7PWA +/2a7tkw1IbCbt4IGG0aZJ6/xgQejrOLi4ewniqWuXCc+tLuWBZrGpE2QfwCggZ+L +0e6KPTHMP97T4xV81e3Ba5MD/3NwOQh0pVvZlW66Em8IJnBgM+eQh7pl4xq7nVOh +dEMJwVU0wDRKkXqQVghOxALOSAMapj5mDppEDzGLZHZNSRcvGEs2iPwo9vmY+Qhp +AyEBzE4blNR8pwPtAwL0W3cBKUx7ZhqmHr2FbNGYNO/hP4tO2ochCn5CxSwAfN1B +Qs5pBACOkTZMNC7CLsSUT5P4+64t04x/STlAFczEBcJBLF1T16oItDITJmAsPxbY +iee6JRfXmZKqmDP04fRdboWMcRjfDfCciSdIeGqP7vMcO25bDZB6x6++fOcmQpyD +1Fag3ZUq2yojgXWqVrgFHs/HB3QE7UQkykNp1fjQGbKK+5mWTrQkUmVtaSBDb2xs +ZXQgPFJQTVNARmFtaWxsZUNvbGxldC5jb20+iGAEExECACAFAkZ+MYoCGwMGCwkI +BwMCBBUCCAMEFgIDAQIeAQIXgAAKCRAATm9HAPl/Vv/UAJ9EL8ioMTsz/2EPbNuQ +MP5Xx/qPLACeK5rk2hb8VFubnEsbVxnxfxatGZ25AQ0EQmfLXRAEANwGvY+mIZzj +C1L5Nm2LbSGZNTN3NMbPFoqlMfmym8XFDXbdqjAHutGYEZH/PxRI6GC8YW5YK4E0 +HoBAH0b0F97JQEkKquahCakj0P5mGuH6Q8gDOfi6pHimnsSAGf+D+6ZwAn8bHnAa +o+HVmEITYi6s+Csrs+saYUcjhu9zhyBfAAMFA/9Rmfj9/URdHfD1u0RXuvFCaeOw +CYfH2/nvkx+bAcSIcbVm+tShA66ybdZ/gNnkFQKyGD9O8unSXqiELGcP8pcHTHsv +JzdD1k8DhdFNhux/WPRwbo/es6QcpIPa2JPjBCzfOTn9GXVdT4pn5tLG2gHayudK +8Sj1OI2vqGLMQzhxw4hJBBgRAgAJBQJCZ8tdAhsMAAoJEABOb0cA+X9WcSAAn11i +gC5ns/82kSprzBOU0BNwUeXZAJ0cvNmY7rvbyiJydyLsSxh/la6HKw== +=6Rbg +-----END PGP PUBLIC KEY BLOCK----- diff --git a/check.php b/check.php new file mode 100644 index 00000000..d45ea3e0 --- /dev/null +++ b/check.php @@ -0,0 +1,207 @@ + + + + + + Les RPM de Remi - Mirror check + + + + + +
+ +

+ Blog | + Forums | + Repository +

+
+
+
+

Mirror repository metadata check

+ 'Enterprise Linux 7', + 'enterprise/6' => 'Enterprise Linux 6', + 'enterprise/5' => 'Enterprise Linux 5', + 'fedora/22' => 'Fedora 22', + 'fedora/21' => 'Fedora 21', + 'fedora/20' => 'Fedora 20', +); +$subs = array( + 'remi', + 'test', + 'php56', +); +$archs = array( + 'i386', + 'x86_64', +); + +$mirrors = array( + 'http://remi.mirrors.arminco.com/', + 'http://remi.conetix.com.au/', + 'http://mirrors.neterra.net/remi/', + 'http://remi.xpg.com.br/', + 'http://remirpm.mirror.gymkl.ch/', + 'http://mirror5.layerjet.com/remi/', + 'http://remi.schlundtech.de/', + 'http://mirror.cedia.org.ec/remi/', + 'http://mirror.uta.edu.ec/remi/', + 'http://iut-info.univ-reims.fr/remirpms/', + 'http://mirror.smartmedia.net.id/remi/', + 'http://remi.kazukioishi.net/', + 'http://ftp.arnes.si/mirrors/remi/', + 'http://mirrors.thzhost.com/remi/', + 'http://remi.check-update.co.uk/', + 'http://mirrors.mediatemple.net/remi/', + 'http://fr2.rpmfind.net/linux/remi/', + 'http://mirror.awanti.com/remi/', + 'http://mirrors.netix.net/remi/', + 'http://mirror.h1host.ru/remi/', + 'http://remi.mirrors.cu.be/', + 'http://mirror.innosol.asia/remi/', +); +$deprecated = array( + 'http://remi.mirror.net.in/', + 'http://remi-mirror.dedipower.com/', + 'http://mirror.beyondhosting.net/Remi/', + 'http://mirrors.cicku.me/remi/', + 'http://remi.mirrors.hostinginnederland.nl/', + 'http://mirror.1000mbps.com/remi/', + 'http://mirrors.hustunique.com/remi/', + 'http://mirror.pw/remi/', +); +function getRepoTime($uri) { + $xml = simplexml_load_file($uri.'/repodata/repomd.xml'); + if ($xml && $xml->revision) { + return intval($xml->revision); + } + return 0; +} +if (isset($_GET['mirror']) && isset($repos[$_GET['mirror']])) { + $path = $_GET['mirror']; +} else { + $path = 'enterprise/7'; +} +if (isset($_GET['repo']) && in_array($_GET['repo'], $subs)) { + $repo = $_GET['repo']; +} else { + $repo = 'remi'; +} +if (isset($_GET['arch']) && in_array($_GET['arch'], $archs)) { + $arch = $_GET['arch']; +} else { + $arch = 'x86_64'; +} +$name = $repos[$path]; +$full = "$path/$repo/$arch"; + +if (!$cli) { + echo "
    \n"; + foreach ($repos as $rpath => $rname) { + if ($path == $rpath) { + printf("
  • %s
  • \n", $rname); + } else { + printf("
  • %s
  • ", $rpath, $rname); + } + } + echo "
\n"; +} +$pids = array(); +$ref = getRepoTime($full); +if ($ref) { + printf(($cli ? "Check of %s (%s)\n" : "

%s - %s

\n"), $name, date('r', $ref)); + if (!$cli) echo "
    \n"; + foreach ($mirrors as $mirror) { + if ($cli) { + $pid = pcntl_fork(); + if ($pid<0) { + die("Can't fork\n"); + } else if ($pid) { + $pids[$pid] = $pid; + } else { // Child + $pids = array(); + $loc = getRepoTime($mirror.$full); + if ($ref == $loc) { + printf("%50.50s: Ok\n", $mirror); + } else if ($loc) { + printf("%50.50s: %s\n", $mirror, date('r', $loc)); + } else { + printf("%50.50s: N/A\n", $mirror); + } + break; + } + continue; + } + flush(); + $host = parse_url($mirror, PHP_URL_HOST); + printf("
  • %s ", $mirror, $host); + $loc = getRepoTime($mirror.$full); + if ($ref == $loc) { + printf("
  • %s Ok
  • \n", $mirror, $mirror); + } else if ($loc) { + printf("
  • %s %s
  • \n", $mirror, $mirror, date('r', $loc)); + } else { + printf("
  • %s N/A
  • \n", $mirror, $mirror); + } + } + if ($cli) { + while (count($pids)) { + //printf("Wait %d\r", count($pids)); + $pid = pcntl_wait($status); + if ($pid<0) { + die("Cound not wait\n"); + exit (1); + } else { + unset($pids[$pid]); + } + } + } else { + echo "
\n"; + } +} else { + printf("

%s - not found

\n", $name); +} + +if (!$cli) { +?> +
+
+ +
+
+
+ + + + + + + + Remi's RPM repository + + + + + + +
+ +

+ Blog | + Forum | + Repository +

+
+
+
+ + +

Next year Web hosting budget, until December 2016: + 99% 99% of 480€. + + Thank you for your support, + and GET the Sticker ! +

+ +

+

Information

+
  +

Forum

+
  +

Blog

+
+ +   + +   + +

And + #remirepo IRC channel on Freenode

+

+ +
+

Download mirrors - Full content

+ +
  +

Primary mirror

+ +
+

Download mirrors - Partial content

+ +
+ +

Distribution choice - Repository content

+

Maintained Enterprise Linux (RHEL / CentOS / Other clones)

+ + +

Fedora - Maintained version

+ +

EOL Enterprise Linux - No more package update - Upgrade strongly recommended

+ +

EOL Fedora - All packages are maintained - Upgrade heartily recommended

+ +

EOL Fedora - No more package update - Upgrade is mandatory

+ +

Other resources

+ +
+
+ +
+
+
+ + + diff --git a/mashinfo.el6 b/mashinfo.el6 new file mode 100644 index 00000000..22a2e524 --- /dev/null +++ b/mashinfo.el6 @@ -0,0 +1,309 @@ +remi-release +gd-last +ImageMagick-last-libs +libbson +libbson-devel +libcouchbase +libcouchbase-devel +libcouchbase-tools +libevent-last +libicu-last +libmemcached-last-libs +librabbitmq-last +libsodium-last +libzip-last +mongo-c-driver +mongo-c-driver-devel +cassandra-cpp-driver +cassandra-cpp-driver-devel +php70 +php70-build +php70-php +php70-php-ast +php70-php-bcmath +php70-php-cli +php70-php-common +php70-php-dba +php70-php-dbg +php70-php-devel +php70-php-embedded +php70-php-enchant +php70-php-fpm +php70-php-gd +php70-php-gmp +php70-php-horde-horde-lz4 +php70-php-imap +php70-php-interbase +php70-php-intl +php70-php-json +php70-php-ldap +php70-php-litespeed +php70-php-mbstring +php70-php-mcrypt +php70-php-mysqlnd +php70-php-odbc +php70-php-opcache +php70-php-pdo +php70-php-pdo-dblib +php70-php-pear +php70-php-pecl-apcu +php70-php-pecl-apcu-bc +php70-php-pecl-apcu-devel +php70-php-pecl-amqp +php70-php-pecl-apfd +php70-php-pecl-apm +php70-php-pecl-crypto +php70-php-pecl-eio +php70-php-pecl-ev +php70-php-pecl-gender +php70-php-pecl-selinux +php70-php-pecl-geoip +php70-php-pecl-geospatial +php70-php-pecl-http +php70-php-pecl-hprose +php70-php-pecl-hrtime +php70-php-pecl-imagick +php70-php-pecl-imagick-devel +php70-php-pecl-json-post +php70-php-pecl-libsodium +php70-php-pecl-lzf +php70-php-pecl-memcached +php70-php-pecl-msgpack +php70-php-pecl-msgpack-devel +php70-php-pecl-mysql +php70-php-pecl-pcs +php70-php-pecl-pcs-devel +php70-php-pecl-propro +php70-php-pecl-propro-devel +php70-php-pecl-raphf +php70-php-pecl-raphf-devel +php70-php-pecl-rrd +php70-php-pecl-seaslog +php70-php-pecl-selinux +php70-php-pecl-ssdeep +php70-php-pecl-swoole +php70-php-pecl-taint +php70-php-pecl-termbox +php70-php-pecl-trader +php70-php-pecl-uploadprogress +php70-php-pecl-uuid +php70-php-pecl-xattr +php70-php-pecl-xdebug +php70-php-pecl-xmldiff +php70-php-pecl-xmldiff-devel +php70-php-pecl-xxtea +php70-php-pecl-yac +php70-php-pecl-yaconf +php70-php-pecl-yaconf-devel +php70-php-pecl-yaf +php70-php-pecl-yaml +php70-php-pecl-yar +php70-php-pecl-zip +php70-php-pgsql +php70-php-process +php70-php-pspell +php70-php-recode +php70-php-smbclient +php70-php-snmp +php70-php-soap +php70-php-tidy +php70-php-xml +php70-php-xmlrpc +php70-runtime +php70-scldevel +php56 +php56-build +php56-mysqlnd-qc-panel +php56-php +php56-php-bcmath +php56-php-channel-horde +php56-php-cli +php56-php-common +php56-php-dba +php56-php-dbg +php56-php-devel +php56-php-embedded +php56-php-enchant +php56-php-fpm +php56-php-gd +php56-php-gmp +php56-php-horde-horde-lz4 +php56-php-imap +php56-php-interbase +php56-php-intl +php56-php-ioncube-loader +php56-php-ldap +php56-php-libsmbclient +php56-php-libvirt +php56-php-libvirt-doc +php56-php-litespeed +php56-php-magickwand +php56-php-mbstring +php56-php-mcrypt +php56-php-mssql +php56-php-mysqlnd +php56-php-odbc +php56-php-opcache +php56-php-pdo +php56-php-pear +php56-php-pecl-amqp +php56-php-pecl-apcu +php56-php-pecl-apcu-devel +php56-php-pecl-apfd +php56-php-pecl-apm +php56-php-pecl-ares +php56-php-pecl-bbcode +php56-php-pecl-binpack +php56-php-pecl-bitset +php56-php-pecl-blenc +php56-php-pecl-cairo +php56-php-pecl-cairo-devel +php56-php-pecl-cassandra +php56-php-pecl-chdb +php56-php-pecl-couchbase +php56-php-pecl-couchbase2 +php56-php-pecl-crypto +php56-php-pecl-dbase +php56-php-pecl-dbus +php56-php-pecl-dio +php56-php-pecl-dom-varimport +php56-php-pecl-dom-varimport-devel +php56-php-pecl-doublemetaphone +php56-php-pecl-eio +php56-php-pecl-ev +php56-php-pecl-event +php56-php-pecl-expect +php56-php-pecl-fann +php56-php-pecl-gearman +php56-php-pecl-gender +php56-php-pecl-geoip +php56-php-pecl-geospatial +php56-php-pecl-gmagick +php56-php-pecl-gnupg +php56-php-pecl-graphdat +php56-php-pecl-haru +php56-php-pecl-hidef +php56-php-pecl-hprose +php56-php-pecl-hrtime +php56-php-pecl-http +php56-php-pecl-http-devel +php56-php-pecl-igbinary +php56-php-pecl-igbinary-devel +php56-php-pecl-imagick +php56-php-pecl-imagick-devel +php56-php-pecl-inclued +php56-php-pecl-inotify +php56-php-pecl-ircclient +php56-php-pecl-jsonc +php56-php-pecl-jsonc-devel +php56-php-pecl-jsond +php56-php-pecl-jsond-devel +php56-php-pecl-json-post +php56-php-pecl-judy +php56-php-pecl-judy-devel +php56-php-pecl-krb5 +php56-php-pecl-krb5-devel +php56-php-pecl-leveldb +php56-php-pecl-libsodium +php56-php-pecl-lua +php56-php-pecl-lzf +php56-php-pecl-mailparse +php56-php-pecl-memcache +php56-php-pecl-memcached +php56-php-pecl-memprof +php56-php-pecl-mogilefs +php56-php-pecl-mongo +php56-php-pecl-mongodb +php56-php-pecl-msgpack +php56-php-pecl-msgpack-devel +php56-php-pecl-mysqlnd-ms +php56-php-pecl-mysqlnd-ms-devel +php56-php-pecl-mysqlnd-qc +php56-php-pecl-mysqlnd-qc-devel +php56-php-pecl-ncurses +php56-php-pecl-newt +php56-php-pecl-oauth +php56-php-pecl-parsekit +php56-php-pecl-pcs +php56-php-pecl-pcs-devel +php56-php-pecl-pcsc +php56-php-pecl-pcsc-devel +php56-php-pecl-pdflib +php56-php-pecl-phk +php56-php-pecl-propro +php56-php-pecl-propro-devel +php56-php-pecl-protocolbuffers +php56-php-pecl-quickhash +php56-php-pecl-radius +php56-php-pecl-raphf +php56-php-pecl-raphf-devel +php56-php-pecl-rar +php56-php-pecl-rdkafka +php56-php-pecl-redis +php56-php-pecl-riak +php56-php-pecl-rrd +php56-php-pecl-runkit +php56-php-pecl-scream +php56-php-pecl-scrypt +php56-php-pecl-sdl +php56-php-pecl-seaslog +php56-php-pecl-selinux +php56-php-pecl-solr +php56-php-pecl-solr2 +php56-php-pecl-sphinx +php56-php-pecl-spl-types +php56-php-pecl-sqlite +php56-php-pecl-ssdeep +php56-php-pecl-ssh2 +php56-php-pecl-stats +php56-php-pecl-stomp +php56-php-pecl-strict +php56-php-pecl-swoole +php56-php-pecl-sync +php56-php-pecl-termbox +php56-php-pecl-trace +php56-php-pecl-trader +php56-php-pecl-uopz +php56-php-pecl-uploadprogress +php56-php-pecl-uri-template +php56-php-pecl-uuid +php56-php-pecl-vld +php56-php-pecl-weakref +php56-php-pecl-xattr +php56-php-pecl-xdebug +php56-php-pecl-xhprof +php56-php-pecl-xmldiff +php56-php-pecl-xmldiff-devel +php56-php-pecl-xmp +php56-php-pecl-xrange +php56-php-pecl-xslcache +php56-php-pecl-xxtea +php56-php-pecl-yac +php56-php-pecl-yaf +php56-php-pecl-yaml +php56-php-pecl-yar +php56-php-pecl-yaz +php56-php-pecl-yp +php56-php-pecl-zip +php56-php-pecl-zmq +php56-php-pgsql +php56-php-phalcon +php56-php-phalcon2 +php56-php-phurple +php56-php-pimple +php56-php-process +php56-php-pspell +php56-php-recode +php56-php-smbclient +php56-php-snmp +php56-php-soap +php56-php-suhosin +php56-php-tidy +php56-php-twig +php56-php-xcache +php56-php-xml +php56-php-xmlrpc +php56-runtime +php56-scldevel +php56-xcache-admin +php56-xhprof diff --git a/mashinfo.el7 b/mashinfo.el7 new file mode 100644 index 00000000..15bca4a7 --- /dev/null +++ b/mashinfo.el7 @@ -0,0 +1,403 @@ +php-ioncube-loader +php-pecl-apm +php-pecl-ares +php-pecl-bbcode +php-pecl-binpack +php-pecl-bitset +php-pecl-blenc +php-pecl-cassandra +php-pecl-chdb +php-pecl-couchbase +php-pecl-couchbase2 +php-pecl-crypto +php-pecl-dbase +php-pecl-dbus +php-pecl-dio +php-pecl-dom-varimport +php-pecl-doublemetaphone +php-pecl-eio +php-pecl-ev +php-pecl-expect +php-pecl-gender +php-pecl-geospatial +php-pecl-gnupg +php-pecl-graphdat +php-pecl-haru +php-pecl-hidef +php-pecl-hprose +php-pecl-hrtime +php-pecl-inclued +php-pecl-inotify +php-pecl-ircclient +php-pecl-jsond +php-pecl-jsond-devel +php-pecl-leveldb +php-pecl-lua +php-pecl-mogilefs +php-pecl-mongodb +php-pecl-mosquitto +php-pecl-mysqlnd-ms +php-pecl-mysqlnd-ms-devel +php-pecl-mysqlnd-qc +php-pecl-mysqlnd-qc-devel +php-pecl-newt +php-pecl-pcs +php-pecl-pcs-devel +php-pecl-pcsc +php-pecl-pcsc-devel +php-pecl-pdflib +php-pecl-phk +php-pecl-pq +php-pecl-protocolbuffers +php-pecl-pthreads +php-pecl-quickhash +php-pecl-rar +php-pecl-rdkafka +php-pecl-riak +php-pecl-seaslog +php-pecl-scream +php-pecl-scrypt +php-pecl-spl-types +php-pecl-stats +php-pecl-stomp +php-pecl-strict +php-pecl-sundown +php-pecl-swoole +php-pecl-sync +php-pecl-termbox +php-pecl-trace +php-pecl-trader +php-pecl-uopz +php-pecl-uploadprogress +php-pecl-uri-template +php-pecl-varnish +php-pecl-vld +php-pecl-weakref +php-pecl-wxwidgets +php-pecl-xmp +php-pecl-xrange +php-pecl-xslcache +php-pecl-xxtea +php-pecl-yaf +php-pecl-yar +php-pecl-yaz +php-pecl-yp +php-phalcon +php-phalcon2 +php-suhosin +cmph +libbson +libbson-devel +libcouchbase +libcouchbase-devel +libcouchbase-tools +libharu +librdkafka +pdflib-lite +mongo-c-driver +mongo-c-driver-devel +termbox +remi-release +gd-last +ImageMagick-last-libs +librabbitmq-last +libsodium-last +libzip-last +cassandra-cpp-driver +cassandra-cpp-driver-devel +php70 +php70-build +php70-php +php70-php-ast +php70-php-bcmath +php70-php-cli +php70-php-common +php70-php-dba +php70-php-dbg +php70-php-devel +php70-php-embedded +php70-php-enchant +php70-php-fpm +php70-php-gd +php70-php-gmp +php70-php-horde-horde-lz4 +php70-php-imap +php70-php-interbase +php70-php-intl +php70-php-json +php70-php-ldap +php70-php-litespeed +php70-php-mbstring +php70-php-mcrypt +php70-php-mysqlnd +php70-php-odbc +php70-php-opcache +php70-php-pdo +php70-php-pdo-dblib +php70-php-pear +php70-php-pecl-apcu +php70-php-pecl-apcu-bc +php70-php-pecl-apcu-devel +php70-php-pecl-amqp +php70-php-pecl-apfd +php70-php-pecl-apm +php70-php-pecl-crypto +php70-php-pecl-eio +php70-php-pecl-ev +php70-php-pecl-gender +php70-php-pecl-geoip +php70-php-pecl-geospatial +php70-php-pecl-http +php70-php-pecl-hprose +php70-php-pecl-hrtime +php70-php-pecl-imagick +php70-php-pecl-imagick-devel +php70-php-pecl-json-post +php70-php-pecl-libsodium +php70-php-pecl-lzf +php70-php-pecl-memcached +php70-php-pecl-msgpack +php70-php-pecl-msgpack-devel +php70-php-pecl-mysql +php70-php-pecl-pcs +php70-php-pecl-pcs-devel +php70-php-pecl-pq +php70-php-pecl-propro +php70-php-pecl-propro-devel +php70-php-pecl-raphf +php70-php-pecl-raphf-devel +php70-php-pecl-rrd +php70-php-pecl-seaslog +php70-php-pecl-selinux +php70-php-pecl-ssdeep +php70-php-pecl-swoole +php70-php-pecl-taint +php70-php-pecl-termbox +php70-php-pecl-trader +php70-php-pecl-uploadprogress +php70-php-pecl-uuid +php70-php-pecl-varnish +php70-php-pecl-xattr +php70-php-pecl-xdebug +php70-php-pecl-xmldiff +php70-php-pecl-xmldiff-devel +php70-php-pecl-xxtea +php70-php-pecl-yac +php70-php-pecl-yaconf +php70-php-pecl-yaconf-devel +php70-php-pecl-yaf +php70-php-pecl-yaml +php70-php-pecl-yar +php70-php-pecl-zip +php70-php-pgsql +php70-php-process +php70-php-pspell +php70-php-recode +php70-php-smbclient +php70-php-snmp +php70-php-soap +php70-php-tidy +php70-php-xml +php70-php-xmlrpc +php70-runtime +php70-scldevel +php56 +php56-build +php56-mysqlnd-qc-panel +php56-php +php56-php-bcmath +php56-php-channel-horde +php56-php-cli +php56-php-common +php56-php-dba +php56-php-dbg +php56-php-devel +php56-php-embedded +php56-php-enchant +php56-php-fpm +php56-php-gd +php56-php-gmp +php56-php-horde-horde-lz4 +php56-php-imap +php56-php-interbase +php56-php-intl +php56-php-ioncube-loader +php56-php-ldap +php56-php-libsmbclient +php56-php-libvirt +php56-php-libvirt-doc +php56-php-litespeed +php56-php-magickwand +php56-php-mbstring +php56-php-mcrypt +php56-php-mssql +php56-php-mysqlnd +php56-php-odbc +php56-php-opcache +php56-php-pdo +php56-php-pear +php56-php-pecl-amqp +php56-php-pecl-apcu +php56-php-pecl-apcu-devel +php56-php-pecl-apfd +php56-php-pecl-apm +php56-php-pecl-ares +php56-php-pecl-bbcode +php56-php-pecl-binpack +php56-php-pecl-bitset +php56-php-pecl-blenc +php56-php-pecl-cairo +php56-php-pecl-cairo-devel +php56-php-pecl-cassandra +php56-php-pecl-chdb +php56-php-pecl-couchbase +php56-php-pecl-couchbase2 +php56-php-pecl-crypto +php56-php-pecl-dbase +php56-php-pecl-dbus +php56-php-pecl-dio +php56-php-pecl-dom-varimport +php56-php-pecl-dom-varimport-devel +php56-php-pecl-doublemetaphone +php56-php-pecl-eio +php56-php-pecl-ev +php56-php-pecl-event +php56-php-pecl-expect +php56-php-pecl-fann +php56-php-pecl-gearman +php56-php-pecl-gender +php56-php-pecl-geoip +php56-php-pecl-geospatial +php56-php-pecl-gmagick +php56-php-pecl-gnupg +php56-php-pecl-graphdat +php56-php-pecl-haru +php56-php-pecl-hidef +php56-php-pecl-hprose +php56-php-pecl-hrtime +php56-php-pecl-http +php56-php-pecl-http-devel +php56-php-pecl-igbinary +php56-php-pecl-igbinary-devel +php56-php-pecl-imagick +php56-php-pecl-imagick-devel +php56-php-pecl-inclued +php56-php-pecl-inotify +php56-php-pecl-ircclient +php56-php-pecl-jsonc +php56-php-pecl-jsonc-devel +php56-php-pecl-jsond +php56-php-pecl-jsond-devel +php56-php-pecl-json-post +php56-php-pecl-judy +php56-php-pecl-judy-devel +php56-php-pecl-krb5 +php56-php-pecl-krb5-devel +php56-php-pecl-leveldb +php56-php-pecl-libsodium +php56-php-pecl-lua +php56-php-pecl-lzf +php56-php-pecl-mailparse +php56-php-pecl-memcache +php56-php-pecl-memcached +php56-php-pecl-memprof +php56-php-pecl-mogilefs +php56-php-pecl-mongo +php56-php-pecl-mongodb +php56-php-pecl-mosquitto +php56-php-pecl-msgpack +php56-php-pecl-msgpack-devel +php56-php-pecl-mysqlnd-ms +php56-php-pecl-mysqlnd-ms-devel +php56-php-pecl-mysqlnd-qc +php56-php-pecl-mysqlnd-qc-devel +php56-php-pecl-ncurses +php56-php-pecl-newt +php56-php-pecl-oauth +php56-php-pecl-parsekit +php56-php-pecl-pcs +php56-php-pecl-pcs-devel +php56-php-pecl-pcsc +php56-php-pecl-pcsc-devel +php56-php-pecl-pdflib +php56-php-pecl-phk +php56-php-pecl-pq +php56-php-pecl-propro +php56-php-pecl-propro-devel +php56-php-pecl-protocolbuffers +php56-php-pecl-quickhash +php56-php-pecl-radius +php56-php-pecl-raphf +php56-php-pecl-raphf-devel +php56-php-pecl-rar +php56-php-pecl-rdkafka +php56-php-pecl-redis +php56-php-pecl-riak +php56-php-pecl-rrd +php56-php-pecl-runkit +php56-php-pecl-scream +php56-php-pecl-scrypt +php56-php-pecl-sdl +php56-php-pecl-seaslog +php56-php-pecl-selinux +php56-php-pecl-solr +php56-php-pecl-solr2 +php56-php-pecl-sphinx +php56-php-pecl-spl-types +php56-php-pecl-sqlite +php56-php-pecl-ssdeep +php56-php-pecl-ssh2 +php56-php-pecl-stats +php56-php-pecl-stomp +php56-php-pecl-strict +php56-php-pecl-swoole +php56-php-pecl-sync +php56-php-pecl-termbox +php56-php-pecl-trace +php56-php-pecl-trader +php56-php-pecl-uopz +php56-php-pecl-uploadprogress +php56-php-pecl-uri-template +php56-php-pecl-uuid +php56-php-pecl-varnish +php56-php-pecl-vld +php56-php-pecl-weakref +php56-php-pecl-wxwidgets +php56-php-pecl-xattr +php56-php-pecl-xdebug +php56-php-pecl-xhprof +php56-php-pecl-xmldiff +php56-php-pecl-xmldiff-devel +php56-php-pecl-xmp +php56-php-pecl-xrange +php56-php-pecl-xslcache +php56-php-pecl-xxtea +php56-php-pecl-yac +php56-php-pecl-yaf +php56-php-pecl-yaml +php56-php-pecl-yar +php56-php-pecl-yaz +php56-php-pecl-yp +php56-php-pecl-zip +php56-php-pecl-zmq +php56-php-pgsql +php56-php-phalcon +php56-php-phalcon2 +php56-php-phurple +php56-php-pimple +php56-php-process +php56-php-pspell +php56-php-recode +php56-php-smbclient +php56-php-snmp +php56-php-soap +php56-php-suhosin +php56-php-tidy +php56-php-twig +php56-php-xcache +php56-php-xml +php56-php-xmlrpc +php56-runtime +php56-scldevel +php56-xcache-admin +php56-xhprof diff --git a/mashrepo b/mashrepo new file mode 100755 index 00000000..57fc558a --- /dev/null +++ b/mashrepo @@ -0,0 +1,55 @@ +#!/bin/bash + +function mashit() +{ +echo "Mashing $2 $3" + +mash=$1 +where=$2/remi/$3 +options="-type f -print" +refdate=$2/safe/.mashdate.$3 +if [ -f $refdate ] +then options="-newer $refdate $options" +else touch -d 19950101 $refdate +fi + +[ $debug = 1 ] && echo " find $where -name \*rpm $options" + +find $where -name \*rpm $options | while read rpm +do + name=$(rpm -qp --qf "%{NAME}" $rpm) + copy=${rpm/remi/safe} + if [ -f $copy ] + then + if [ $debug = 1 ] + then echo " $rpm (ok)" + fi + elif grep -q "^${name}\$" $mash + then + ln $rpm $copy && echo "+ $rpm" + else + if [ $debug = 1 ] + then echo " $rpm (ignored)" + fi + fi + [ $rpm -nt $refdate ] && touch -r $rpm $refdate +done +} + +debug=0 +for opt in $* +do + case "$opt" in + -d) debug=1 + ;; + *) echo "unkown option $opt" + exit 1 + ;; + esac +done +export debug + +mashit mashinfo.el7 enterprise/7 x86_64 +mashit mashinfo.el6 enterprise/6 i386 +mashit mashinfo.el6 enterprise/6 x86_64 +echo Done diff --git a/mirror b/mirror new file mode 100755 index 00000000..dd8d8011 --- /dev/null +++ b/mirror @@ -0,0 +1,95 @@ +#!/bin/bash + +cd $(dirname $0) + +case "$1" in + +help) echo -e "\nOptions: save resto diff add on off status\n" + ;; + +save) echo -n "Saving mirror definition..." + tar cf - */{?,??}/*/mirror | tar xvf - -C save/ + echo " Done" + ;; + +resto) echo -n "Restoring mirror definition..." + tar cf - -C save */{?,??}/*/mirror | tar xvf - + echo " Done" + ;; + +diff) echo "Pending changes in mirror definition:" + n=0 + for fic in */{?,??}/*/mirror + do + if ! diff -q save/$fic $fic >/dev/null; then + echo "=== $fic" + colordiff -a save/$fic $fic + n=$(expr $n + 1) + fi + done + [ $n -eq 0 ] && echo "None" + ;; + +add) if [ -z "$2" ]; then + echo "Missing mirror path" + exit 1 + fi + for fic in fedora/??/*/mirror enterprise/{5,6,7}/*/mirror + do + n=0 + if grep -q "/archives/" $fic + then + continue + fi + if ! grep -q "^$2" $fic + then + grep remirepo.net $fic | \ + sed -e "s|http://rpms.remirepo.net|$2|" >>$fic + if grep $2 $fic + then + echo "Add in $fic" + n=$(expr $n + 1) + fi + fi + done + [ $n -eq 0 ] && echo "None" + ;; + +on) if [ -z "$2" ]; then + echo "Missing mirror path" + exit 1 + fi + for fic in */{?,??}/*/mirror + do + if grep -q "^## .*$2" $fic + then + echo "Fix in $fic" + sed -e "\@$2@s/^## //" -i $fic + fi + done + ;; + +off) if [ -z "$2" ]; then + echo "Missing mirror path" + exit 1 + fi + for fic in */{?,??}/*/mirror + do + if grep -q "^http.*$2" $fic + then + echo "Fix in $fic" + sed -e "\@$2@s/^/## /" -i $fic + fi + done + ;; + +status) if [ -z "$2" ]; then + echo "Missing mirror path" + exit 1 + fi + grep -- "$2" */{?,??}/*/mirror + ;; + *) echo -e "\nMirror list:\n" + cat enterprise/7/remi/mirror + ;; +esac diff --git a/move b/move new file mode 100755 index 00000000..59df8538 --- /dev/null +++ b/move @@ -0,0 +1,16 @@ +if [ "$1" == "" ]; then + echo "use $0 package [ from [ to ]]" + exit 1 +fi +rpm=$1 +from=${2-test} +to=${3-remi} + +for i in fedora/??/$from/*/$rpm* enterprise/?/$from/*/$rpm* +do + if [ -f $i ] + then + j=$(echo $i | sed -e "s:/$from/:/$to/:") + ln $i $j && basename $i + fi +done diff --git a/repotmpl/group.kid b/repotmpl/group.kid new file mode 100644 index 00000000..7917ce36 --- /dev/null +++ b/repotmpl/group.kid @@ -0,0 +1,80 @@ + + + + + <link rel="stylesheet" href="layout/repostyle.css" type="text/css" /> + <meta name="robots" content="noindex,follow" /> + <link rel="shortcut icon" href="/favicon.ico" /> +</head> +<body> + <div id="page"> + <div id="top"> + <h1><span><a href="/">Remi's RPM repository - Packages</a></span></h1> + </div> + <p id="prelude"> + <a href="http://blog.remirepo.net/">Blog</a> | + <a href="http://forum.remirepo.net/">Forums</a> | + <a href="/">Repository</a> + </p> + <p class="nav">Jump to letter: [ + <span class="letterlist"> + <a py:for="letter in repo_data['letters']" class="nlink" href="${'letter_%s.group.html' % letter.lower()}" py:content="letter"/> + </span>] + </p> + <div id="wrapper"> + <div id="main"> + <div id="content"> + <h2 py:content="group_data['name']"/> + <p py:content="group_data['description']"/> + <ul class="pkglist"> + <li py:for="(name, filename, summary) in group_data['packages']"> + <a href="${filename}" class="inpage" py:content="name"/> - <span py:content="summary"/> + </li> + </ul> + </div> + </div> + <div id="sidebar"> + <h2 py:content="repo_data['title']"/> + <ul class="levbarlist"> + <li> + <a href="/" class="nlink" title="Back to distribution choice">« Back to distro</a> + </li> + <li> + <a href="../../../" class="nlink" title="Back to repository choice">« Back to repo</a> + </li> + <li> + <a href="./" class="nlink" title="Back to repository choice">« Back to index</a> + </li> + </ul> + <h2>Other links</h2> + <ul> + <li><a href="https://www.amazon.com/wishlist/1AFH00IXFY6M0" class="nlink" title="My Amazon.com Wishlist">WishList</a></li> + <li><a href="https://www.amazon.fr/wishlist/33P6MW6KQC8GX" class="nlink" title="Mes Envies cadeaux sur Amazon.fr">Envies cadeaux</a></li> + </ul> +<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><div> +<input type="hidden" name="cmd" value="_s-xclick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EJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTAwNjA0MDU1NTEwWjAjBgkqhkiG9w0BCQQxFgQUo6DkEDxwjY+LFKOw0Vcxh7zRkPYwDQYJKoZIhvcNAQEBBQAEgYCzm9l6X7egJAMom1ZVdV1MqM30cxNGrQeQNQhgj8NnNs4N8uJ+sGeEXDlLdkkUJS4mUlAG6JwvOcCGr++NJUF+qmpQmX7YzbjBnt3pnWfcCrtYVkgCg/d0M+0ZEWTQEP3aMqIL/zeg70LYhg4/kgfR2jrN2IwxkChLoiZi6bQulQ==-----END PKCS7----- +" /> +<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" /> +<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1" /> +</div></form> + </div> + + </div> + <hr style="clear:both;"/> + </div> + <div id="footer"> + <ul id="w3c"> + <li> + <a id="vxhtml" href="http://validator.w3.org/check/referer">XHTML 1.1 valide</a> + </li> + <li> + <a id="vcss" href="http://jigsaw.w3.org/css-validator/check/referer">CSS 2.0 valide</a> + </li> + </ul> + <p> + Listing created by <a href="http://mricon.com/trac/wiki/Repoview" class="repoview" py:content="'Repoview-%s' % repo_data['my_version']"/> | Designed for <a href="http://blog.remirepo.net">Remi</a> by <a href="http://blog.ulysses.fr">Trashy</a> + </p> + </div> +</body> +</html> diff --git a/repotmpl/group.pyc b/repotmpl/group.pyc new file mode 100644 index 00000000..1c3ba434 Binary files /dev/null and b/repotmpl/group.pyc differ diff --git a/repotmpl/index.kid b/repotmpl/index.kid new file mode 100644 index 00000000..eb343510 --- /dev/null +++ b/repotmpl/index.kid @@ -0,0 +1,93 @@ +<?xml version="1.0" encoding="utf-8"?> +<?python +import time +def ymd(stamp): + return time.strftime('%Y-%m-%d', time.localtime(int(stamp))) +?> +<html xmlns:py="http://purl.org/kid/ns#" xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title py:content="'%s' % repo_data['title']"/> + <link rel="stylesheet" href="layout/repostyle.css" type="text/css" /> + <link py:if="url is not None" rel="alternate" type="application/rss+xml" title="RSS" href="latest-feed.xml" /> + <meta name="robots" content="index,follow" /> + <link rel="shortcut icon" href="/favicon.ico" /> +</head> +<body> + <div id="page"> + <div id="top"> + <h1><span><a href="/">Remi's RPM repository - Packages</a></span></h1> + </div> + <p id="prelude"> + <a href="http://blog.remirepo.net/">Blog</a> | + <a href="http://forum.remirepo.net/">Forum</a> | + <a href="/">Repository</a> + </p> + <p class="nav">Jump to letter: [ + <span class="letterlist"> + <a py:for="letter in repo_data['letters']" class="nlink" href="${'letter_%s.group.html' % letter.lower()}" py:content="letter"/> + </span>] + </p> + <div id="wrapper"> + <div id="main"> + <div id="content"> + <h3>Available Groups</h3> + <ul class="pkglist"> + <li py:for="(name, filename, description, packages) in groups"> + <a href="${filename}" class="inpage" py:content="name"/> + </li> + </ul> + + <h3>Latest packages:</h3> + <ul class="pkglist"> + <li py:for="(name, filename, version, release, built) in latest"> + <em><span py:content="ymd(built)"/></em>: + <a href="${filename}" class="inpage" py:content="'%s-%s-%s' % (name, version, release)"/> + </li> + </ul> + </div> + </div> + <div id="sidebar"> + <h2 py:content="repo_data['title']"/> + <ul class="levbarlist"> + <li> + <a href="/" class="nlink" title="Back to distribution choice">« Back to distro</a> + </li> + <li> + <a href="../../../" class="nlink" title="Back to repository choice">« Back to repo</a> + </li> + <li> + <a href="latest-feed.xml" class="nlink" title="RSS feed"> + <img src="layout/images/rss.png" alt="RSS" /> RSS Feed</a> + </li> + </ul> + <h2>Other links</h2> + <ul> + <li><a href="https://www.amazon.com/wishlist/1AFH00IXFY6M0" class="nlink" title="My Amazon.com Wishlist">WishList</a></li> + <li><a href="https://www.amazon.fr/wishlist/33P6MW6KQC8GX" class="nlink" title="Mes Envies cadeaux sur Amazon.fr">Envies cadeaux</a></li> + </ul> +<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><div> +<input type="hidden" name="cmd" value="_s-xclick" /> +<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCCgxEE65DWq8388bFX5PaEG8cAOPUkBi8wbB8QZowA33/RG2ZL2AMMMYPuXfFUDB/oa1huOaWmTdoyi9vFuBYw8bxYniwXlkoZWOABdYIckvy5KMJX3bK8WU6wDLlVJvnPy6+Vp/nDK0c823zM1ZHX5ZEiMtO7ddCH4h5ckGVH6DELMAkGBSsOAwIaBQAwgawGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQI4M5ItoPa/1iAgYh/cDUWOuv2PZOUYssgGD+Ntl6uQnpQX6KxqFpvIrbe6RwvDQncvvczSuXI+I7V2iWa/B5SMJnRXlbImrgnJrn6sFITNYzn0396jk89sd7auNYmP7zIKHxzUUNkiT3JeEagIJeHyiPSkVEcwYLFB5/sUVzY+8PtAbp+wwC5t7Q7AiHJiG9wY4UwoIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMB4XDTA0MDIxMzEwMTMxNVoXDTM1M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DVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTAwNjA0MDU1NTEwWjAjBgkqhkiG9w0BCQQxFgQUo6DkEDxwjY+LFKOw0Vcxh7zRkPYwDQYJKoZIhvcNAQEBBQAEgYCzm9l6X7egJAMom1ZVdV1MqM30cxNGrQeQNQhgj8NnNs4N8uJ+sGeEXDlLdkkUJS4mUlAG6JwvOcCGr++NJUF+qmpQmX7YzbjBnt3pnWfcCrtYVkgCg/d0M+0ZEWTQEP3aMqIL/zeg70LYhg4/kgfR2jrN2IwxkChLoiZi6bQulQ==-----END PKCS7----- +" /> +<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" /> +<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1" /> +</div></form> + </div> + </div> + <hr style="clear:both;"/> + </div> + <div id="footer"> + <ul id="w3c"> + <li> + <a id="vxhtml" href="http://validator.w3.org/check/referer">XHTML 1.1 valide</a> + </li> + <li> + <a id="vcss" href="http://jigsaw.w3.org/css-validator/check/referer">CSS 2.0 valide</a> + </li> + </ul> + <p> + <span py:content="'Listing generated: %s by' % ymd(time.time())"/> <a href="http://mricon.com/trac/wiki/Repoview" class="repoview" py:content="'RepoView-%s' % repo_data['my_version']"/> | Designed for <a href="http://blog.remirepo.net">Remi</a> by <a href="http://blog.ulysses.fr">Trashy</a> + </p> + </div> +</body> +</html> diff --git a/repotmpl/index.pyc b/repotmpl/index.pyc new file mode 100644 index 00000000..852422bb Binary files /dev/null and b/repotmpl/index.pyc differ diff --git a/repotmpl/layout/favicon.ico b/repotmpl/layout/favicon.ico new file mode 100644 index 00000000..956fc908 Binary files /dev/null and b/repotmpl/layout/favicon.ico differ diff --git a/repotmpl/layout/images/footer.png b/repotmpl/layout/images/footer.png new file mode 100644 index 00000000..7d6fa560 Binary files /dev/null and b/repotmpl/layout/images/footer.png differ diff --git a/repotmpl/layout/images/li.png b/repotmpl/layout/images/li.png new file mode 100644 index 00000000..639364f5 Binary files /dev/null and b/repotmpl/layout/images/li.png differ diff --git a/repotmpl/layout/images/monkey.png b/repotmpl/layout/images/monkey.png new file mode 100644 index 00000000..8d1ba756 Binary files /dev/null and b/repotmpl/layout/images/monkey.png differ diff --git a/repotmpl/layout/images/package.png b/repotmpl/layout/images/package.png new file mode 100644 index 00000000..b51fba91 Binary files /dev/null and b/repotmpl/layout/images/package.png differ diff --git a/repotmpl/layout/images/rss.png b/repotmpl/layout/images/rss.png new file mode 100644 index 00000000..829a4e0d Binary files /dev/null and b/repotmpl/layout/images/rss.png differ diff --git a/repotmpl/layout/images/sidebar_li.png b/repotmpl/layout/images/sidebar_li.png new file mode 100644 index 00000000..1064ac66 Binary files /dev/null and b/repotmpl/layout/images/sidebar_li.png differ diff --git a/repotmpl/layout/images/top.jpg b/repotmpl/layout/images/top.jpg new file mode 100644 index 00000000..6fd06bfb Binary files /dev/null and b/repotmpl/layout/images/top.jpg differ diff --git a/repotmpl/layout/images/top_gar.jpg b/repotmpl/layout/images/top_gar.jpg new file mode 100644 index 00000000..1aead544 Binary files /dev/null and b/repotmpl/layout/images/top_gar.jpg differ diff --git a/repotmpl/layout/images/top_monkey.png b/repotmpl/layout/images/top_monkey.png new file mode 100644 index 00000000..89be5ef3 Binary files /dev/null and b/repotmpl/layout/images/top_monkey.png differ diff --git a/repotmpl/layout/images/top_prelude.jpg b/repotmpl/layout/images/top_prelude.jpg new file mode 100644 index 00000000..2e5ef448 Binary files /dev/null and b/repotmpl/layout/images/top_prelude.jpg differ diff --git a/repotmpl/layout/images/w3c-css20.png b/repotmpl/layout/images/w3c-css20.png new file mode 100644 index 00000000..0614443e Binary files /dev/null and b/repotmpl/layout/images/w3c-css20.png differ diff --git a/repotmpl/layout/images/w3c-xhtml10.png b/repotmpl/layout/images/w3c-xhtml10.png new file mode 100644 index 00000000..5336b588 Binary files /dev/null and b/repotmpl/layout/images/w3c-xhtml10.png differ diff --git a/repotmpl/layout/repostyle.css b/repotmpl/layout/repostyle.css new file mode 100644 index 00000000..0330530e --- /dev/null +++ b/repotmpl/layout/repostyle.css @@ -0,0 +1,312 @@ +/** + * RepoView « Remi's Garfield » theme + * Adapted for repoview by Johan Cwiklinski - http://ulysses.fr + */ + +* { + margin: 0; + padding: 0; + border: 0; +} + +body { + background: #CDCDCD; + font: 0.7em Arial,sans-serif; +} + +/* Common styles +-------------------------------------------------------- */ + +ul, ul li { + list-style: none; +} + +a:link, a:visited { + color: #000; + text-decoration: underline; +} + +a:hover { + color: #000; + text-decoration: none; +} + +pre { + overflow: auto; + height: auto; + font-size:1.2em; +} + +.left { + float: left; +} + +.right { + float: right; +} + +/* Page +-------------------------------------------------------- */ + +#page { + background:white url(images/monkey.png) bottom right no-repeat; + margin:0 auto; + position:relative; + width:99%; +} + +#top { + width:auto; + margin: 0 0 19px; + background: #5782AC url(images/package.png) right 56px no-repeat; + padding:0; + border-bottom: 4px #6db9f7 solid; + height: 100px; +} + +#top h1 { + font-size: 3em; + text-align: center; + background: transparent url(images/top_monkey.png) bottom left no-repeat; + height:100px; + margin:0; +} + +#top h1 span{ + display:block; + text-align:center; + padding-top:30px; + bottom:.2em; +} + +#top a:link, #top a:visited, #top a:hover { + color: #FFF; + text-decoration: none; +} + +#prelude { + position: absolute; + top: 0; + right: 18px; + width: 370px; + padding: 6px 0 6px; + color: #CAE4FC; + text-align: center; + background-color: rgba(255,255,255,.3); + border-radius: 0 0 6px 6px; + +} + +#prelude a:link, #prelude a:visited { + padding: 0 0.5em; + font-size: 1.1em; + font-weight: bold; + color: #fff; + text-decoration: none; +} + +#prelude a:hover { + text-decoration: underline; +} + +.levbar { + float:left; + width: 11em; + height: 100%; + border-right: 2px dotted gray; + border-bottom: 2px dotted gray; +} + +.main { + margin-left: 13em; +} + +#wrapper { + width:auto; + margin: 0 auto 10px; + position:relative; +} + +#main { + float:left; + display:inline; + width:100%; +} + +#content{ + margin-left:1em; + margin-right:25em; +} + +#sidebar { + width: 23em; + float:left; + margin:0 0 0 -24em; + background-color:rgba(255,255,255,.7); + border-radius:6px; +} + +#sidebar h2 { + margin: 0 0 10px; + padding: 5px 8px; + background: #F5F5F5; + color: #005D99; + font-size: 1em; + font-weight: bold; +} + +#sidebar a:link, #sidebar a:visited { + text-decoration: none; +} + +#sidebar a:hover { + text-decoration: underline; +} + +#sidebar ul { + padding: 0 0 4px; +} + +#sidebar li { + padding: 3px 4px 3px 20px; + background: transparent url(images/sidebar_li.png) no-repeat 10px 7px; +} + +#sidebar p { + padding: 0 0 4px 10px; +} + +#footer { + clear: both; + width:99%; + margin: 0 auto; + padding: 0 0 14px; + background: transparent url(images/footer.png) repeat-x center bottom; +} + +#footer p { + margin: 0 auto; + padding: 6px 16px 6px 0; + background: #5682ab; + color: #FFF; + text-align: right; + font-weight: bold; +} + +#footer p a:link, #footer p a:visited { + color: #FFF; + text-decoration: underline; +} + +#footer p a:hover { + text-decoration: none; +} + +#content h3, +#content h2, +.pagetitle{ + clear: left; + margin: 0 0 10px 0; + padding: 5px 10px; + background: #F5F5F5; + color: #5E9E14; + font-weight: bold; +} +#content h2, +.pagetitle{ + color: #005D99; + font-size:1.2em; +} + +.pkglist{ + margin-bottom: 1.5em; + font-size: 1.2em; +} + +.pkglist li { + padding: .1em 0 .1em 10px; + background: transparent url(images/li.png) no-repeat 0 5px; +} + +.nav { + position:absolute; + right:5em; + text-align:right; + top:80px; + padding:6px 0; + color:#CAE4FC; +} +.letterlist a { + padding: 0 .2em; + color:#CAE4FC; + text-decoration:none; +} +.letterlist a:hover{ + text-decoration:underline; +} +.repoview { + text-decoration: none; + color: gray; + border-bottom: 1px dotted gray; +} + +dl{ + margin-bottom:.5em; +} + +#pkg_main{ + float:left; + width:20em; + margin-right:2%; +} + +dt{ + font-weight: bold; +} + +td{ + vertical-align:top; +} + +td pre{ + margin: 0 0 .2em .2em; +} + +.nowrap{ + white-space: nowrap +} + +td.filesize{ + text-align:right; + padding:0 .5em; +} + +#vxhtml, #vcss{ + text-indent:90px; + width:80px; + height:15px; + float:left; + overflow:hidden; + margin-left:1em; + margin-top:.5em; +} + +#vxhtml{ + background:transparent url(images/w3c-xhtml10.png) 0 0 no-repeat; +} +#vcss{ + background:transparent url(images/w3c-css20.png) 0 0 no-repeat; +} + +/** Seems unused */ +.nactive { + border-bottom: 1px dotted blue; + color: blue; + text-decoration: none; +} +.ninactive { + color: gray; +} +.field { + text-align: right; +} diff --git a/repotmpl/package.kid b/repotmpl/package.kid new file mode 100644 index 00000000..bc2c8328 --- /dev/null +++ b/repotmpl/package.kid @@ -0,0 +1,108 @@ +<?xml version="1.0" encoding="utf-8"?> +<?python +import time +def ymd(stamp): + return time.strftime('%Y-%m-%d', time.localtime(int(stamp))) +?> +<html xmlns:py="http://purl.org/kid/ns#" xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title py:content="'%s' % repo_data['title']"/> + <link rel="stylesheet" href="layout/repostyle.css" type="text/css"/> + <meta name="robots" content="noindex,follow" /> + <link rel="shortcut icon" href="/favicon.ico" /> +</head> +<body> + <div id="page"> + <div id="top"> + <h1><span><a href="/">Remi's RPM repository - Packages</a></span></h1> + </div> + <p id="prelude"> + <a href="http://blog.remirepo.net/">Blog</a> | + <a href="http://forum.remirepo.net/">Forum</a> | + <a href="/">Repository</a> + </p> + <p class="nav">Jump to letter: [ + <span class="letterlist"> + <a py:for="letter in repo_data['letters']" class="nlink" href="${'letter_%s.group.html' % letter.lower()}" py:content="letter"/> + </span>] + </p> + <div id="wrapper"> + <div id="main"> + <div id="content"> + <h2 py:content="'%s - %s' % (pkg_data['name'], pkg_data['summary'])"/> + <dl id="pkg_main"> + <dt py:if="pkg_data['url']">Website:</dt> + <dd py:if="pkg_data['url']"><a href="${pkg_data['url']}" py:content="pkg_data['url']"/></dd> + <dt py:if="pkg_data['rpm_license']">Licence:</dt> + <dd py:if="pkg_data['rpm_license']" py:content="pkg_data['rpm_license']"/> + <dt py:if="pkg_data['vendor']">Vendor:</dt> + <dd py:if="pkg_data['vendor']" py:content="pkg_data['vendor']"/> + </dl> + <dl id="pkg_description"> + <dt>Description:</dt> + <dd><pre py:content="pkg_data['description']"/></dd> + </dl> + <h3>Packages</h3> + <table border="0" cellpadding="0" cellspacing="10"> + <tr py:for="(e, v, r, a, built, size, loc, author, log, added) in pkg_data['rpms']"> + <td> + <a href="${'../%s' % loc}" class="inpage" py:content="'%s-%s-%s.%s' % (pkg_data['name'], v, r, a)"/> + </td> + <td class="filesize"> + [<span class="nowrap" py:content="size"/>] + </td> + <td py:if="log"> + <strong>Changelog</strong> by <span py:content="'%s (%s)' % (author, ymd(added))"/>: + <pre py:content="log"/> + </td> + <td py:if="not log"> + <em>(no changelog entry)</em> + </td> + </tr> + </table> + </div> + </div> + <div id="sidebar"> + <h2 py:content="repo_data['title']"/> + <ul class="levbarlist"> + <li> + <a href="/" class="nlink" title="Back to distribution choice">« Back to distro</a> + </li> + <li> + <a href="../../../" class="nlink" title="Back to repository choice">« Back to repo</a> + </li> + <li> + <a href="${group_data['filename']}" class="nlink" title="Back to package listing">« Back to group</a> + </li> + </ul> + <h2>Other links</h2> + <ul> + <li><a href="https://www.amazon.com/wishlist/1AFH00IXFY6M0" class="nlink" title="My Amazon.com Wishlist">WishList</a></li> + <li><a href="https://www.amazon.fr/wishlist/33P6MW6KQC8GX" class="nlink" title="Mes Envies cadeaux sur Amazon.fr">Envies cadeaux</a></li> + </ul> +<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><div> +<input type="hidden" name="cmd" value="_s-xclick" /> +<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYD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CQQxFgQUo6DkEDxwjY+LFKOw0Vcxh7zRkPYwDQYJKoZIhvcNAQEBBQAEgYCzm9l6X7egJAMom1ZVdV1MqM30cxNGrQeQNQhgj8NnNs4N8uJ+sGeEXDlLdkkUJS4mUlAG6JwvOcCGr++NJUF+qmpQmX7YzbjBnt3pnWfcCrtYVkgCg/d0M+0ZEWTQEP3aMqIL/zeg70LYhg4/kgfR2jrN2IwxkChLoiZi6bQulQ==-----END PKCS7----- +" /> +<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" /> +<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1" /> +</div></form> + </div> + </div> + <hr style="clear: both;"/> + </div> + <div id="footer"> + <ul id="w3c"> + <li> + <a id="vxhtml" href="http://validator.w3.org/check/referer">XHTML 1.1 valide</a> + </li> + <li> + <a id="vcss" href="http://jigsaw.w3.org/css-validator/check/referer">CSS 2.0 valide</a> + </li> + </ul> + <p> + Listing created by <a href="http://mricon.com/trac/wiki/Repoview" class="repoview" py:content="'Repoview-%s' % repo_data['my_version']"/> | Designed for <a href="http://blog.remirepo.net">Remi</a> by <a href="http://blog.ulysses.fr">Trashy</a> + </p> + </div> +</body> +</html> diff --git a/repotmpl/package.pyc b/repotmpl/package.pyc new file mode 100644 index 00000000..2a6469ad Binary files /dev/null and b/repotmpl/package.pyc differ diff --git a/repotmpl/refresh b/repotmpl/refresh new file mode 100644 index 00000000..1f526a54 --- /dev/null +++ b/repotmpl/refresh @@ -0,0 +1,3 @@ +cp /work/GIT/theme/repoview/*.* repotmpl/ +cp /work/GIT/theme/repoview/layout/*.* repotmpl/layout/ +cp /work/GIT/theme/repoview/layout/images/*.* repotmpl/layout/images/ diff --git a/repotmpl/rss.kid b/repotmpl/rss.kid new file mode 100644 index 00000000..fcfdab9a --- /dev/null +++ b/repotmpl/rss.kid @@ -0,0 +1,33 @@ +<?xml version="1.0" ?> +<?python +import time +def ymd(stamp): + return time.strftime('%Y-%m-%d', time.localtime(int(stamp))) + +?> +<div xmlns:py="http://purl.org/kid/ns#"> + <p> + <strong>Package:</strong> <span py:replace="pkg_data['name']"/><br/> + <strong>Summary:</strong> <span py:replace="pkg_data['summary']"/> + </p> + <p> + <strong>Description:</strong><br/> + <span py:replace="pkg_data['description']"/> + </p> + <h3>Changes:</h3> + <table border="0" cellpadding="0" cellspacing="5"> + <tr py:for="(e, v, r, a, built, size, loc, author, log, added) in pkg_data['rpms']"> + <td valign="top"><a href="${'%s/%s' % (url, loc)}" + py:content="'%s-%s-%s.%s' % (pkg_data['name'], v, r, a)"/> + [<span style="white-space: nowrap" py:content="size"/>]</td> + <td valign="top" py:if="log"> + <strong>Changelog</strong> + by <span py:content="'%s (%s)' % (author, ymd(added))"/>: + <pre style="margin: 0pt 0pt 5pt 5pt" py:content="log"/> + </td> + <td valign="top" py:if="not log"> + <em>(no changelog entry)</em> + </td> + </tr> + </table> +</div> diff --git a/repotmpl/rss.pyc b/repotmpl/rss.pyc new file mode 100644 index 00000000..a6c40485 Binary files /dev/null and b/repotmpl/rss.pyc differ diff --git a/wizard/index.php b/wizard/index.php new file mode 100644 index 00000000..546487f9 --- /dev/null +++ b/wizard/index.php @@ -0,0 +1,225 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <meta content="text/html; charset=utf-8" http-equiv="content-type" /> + <title>Remi's RPM repository + + + + + '5.4', + 'RHEL 6' => '5.3', + 'RHEL 5' => '5.1', + 'CentOS 7' => '5.4', + 'CentOS 6' => '5.3', + 'CentOS 5' => '5.1', + 'Fedora 23' => '5.6', + 'Fedora 22' => '5.6', + 'Fedora 21' => '5.6', +]; +$types = [ + 'base' => 'Single version', + 'scl' => 'Multiple versions', +]; +$phpvers = [ + '7.0' => 'remi-php70', + '5.6' => 'remi-php56', + '5.5' => 'remi-php55', + '5.4' => 'remi', +]; +$php = (isset($_POST['php']) && isset($phpvers[$_POST['php']]) ? $_POST['php'] : false); +$os = (isset($_POST['os']) && isset($osvers[$_POST['os']]) ? $_POST['os'] : false); +$type = (isset($_POST['type']) && isset($types[$_POST['type']]) ? $_POST['type'] : false); + +?> + +
+ +

+ Blog | + Forums | + Repository +

+
+
+
+

Operating system and version selection

+
+
    +
  • Operating system: + +

  • +
  • PHP version: + +

  • +
  • Type of installation: + +

  • +
+
+

Wizard answer

+
    +Debug: $os, $type, $php (%s)

    ", print_r($_POST, true)); +$err = false; +if ($os) { + list($dist, $ver) = explode(' ', $os, 2); + if (($dist == 'Fedora' && $ver<=FC_EOL) || ($dist != 'Fedora' && $ver<=EL_EOL)) { + printf("
  • %s have reached its end of life, upgrade is strongly recommended.

  • ", $os); + } +} +if ($php && $os) { + printf("
  • %s provides PHP version %s in its official repository

  • ", $os, $osvers[$os]); + + if ($ver < 6 && version_compare($php, '7.0', '>=')) { + printf("
  • Sorry, but PHP version %s is not available for %s, you need to run a more recent OS.

  • ", $php, $os); + $err = true; + } +} +if ($php && $os && $type && !$err) { + if ($dist == 'Fedora') { + $yum = 'dnf'; + printf("
  • Command to install the Remi repository configuration package:"); + printf("
        $yum install http://rpms.remirepo.net/fedora/remi-release-%d.rpm
    ", $ver); + printf("

  • "); + + } else { + $yum = 'yum'; + printf("
  • Command to install the EPEL repository configuration package:"); + printf("
        $yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-%d.noarch.rpm
    ", $ver); + printf("

  • Command to install the Remi repository configuration package:"); + printf("
        $yum install http://rpms.remirepo.net/enterprise/remi-release-%d.rpm
    ", $ver); + printf("

  • "); + if ($dist == 'RHEL') { + printf("
  • On RHEL you (probably) need to enable the optional channel for some dependencies.

  • "); + printf("
  • Command to enable:"); + if ($ver == 7) { + printf("
        subscription-manager repos --enable=rhel-7-server-optional-rpms
    "); + } else { + printf("
        rhn-channel --add --channel=rhel-$(uname -i)-server-optional-6
    "); + } + printf("

  • "); + } + } + if ($type == 'base') { + printf("
  • You want a single version which means replacing base packages from the distribution

  • "); + + if (version_compare($php, $osvers[$os], '<')) { + printf("
  • Sorry, but PHP version older than %s are not available for %s, try multiple versions.

  • ", $osvers[$os], $os); + + } else if (version_compare($php, $osvers[$os], '=')) { + printf("
  • PHP version %s packages are available for %s in remi repository

  • ", $php, $os); + printf("
  • Command to upgrade:"); + printf("
        $yum --enablerepo=remi update 'php*'
    "); + printf("

  • "); + printf("
  • Command to install additional packages:"); + printf("
        $yum --enablerepo=remi install php-xxx
    "); + printf("

  • "); + + } else { + printf("
  • PHP version %s packages are available for %s in %s repository

  • ", $php, $os, $phpvers[$php]); + printf("
  • Command to enable the repository:"); + if ($dist == 'Fedora') { + printf("
        dnf config-manager --enable %s
    ", $phpvers[$php]); + } else { + printf("
        yum-config-manager --enable %s
    ", $phpvers[$php]); + } + printf("

  • "); + printf("
  • Command to upgrade (the repository only provides PHP):"); + printf("
        $yum update
    "); + printf("

  • "); + printf("
  • Command to install additional packages:"); + printf("
        $yum install php-xxx
    "); + printf("

  • "); + printf("
  • Command to check the installed version and available extensions:"); + printf("
        php --version\n    php --modules
    "); + printf("

  • "); + } + } else { + printf("
  • You want multiple versions which means using a Software Collection

  • "); + $scl='php'.str_replace('.', '', $php); + + if ($dist=='Fedora' || version_compare($php, '5.6', '<')) { + printf("
  • The %s collection is available in the remi repository

  • ", $scl); + printf("
  • Command to install:"); + printf("
        $yum --enablerepo=remi install %s
    ", $scl); + printf("

  • "); + printf("
  • Command to install additional packages:"); + printf("
        $yum --enablerepo=remi install %s-php-xxx
    ", $scl); + printf("

  • "); + } else { + printf("
  • The %s collection is available in the remi-safe repository

  • ", $scl); + printf("
  • Command to install:"); + printf("
        $yum install %s
    ", $scl); + printf("

  • "); + printf("
  • Command to install additional packages:"); + printf("
        $yum install %s-php-xxx
    ", $scl); + printf("

  • "); + } + printf("
  • Command to check the installed version and available extensions:"); + printf("
        %s --version\n    %s --modules
    ", $scl, $scl); + printf("

  • "); + } +} else if (!$os) { + echo "
  • Please select the operating system you are running.

  • "; + +} else if (!$php) { + echo "
  • Please select PHP version you want to use.

  • "; + +} else if (!$err) { + echo "
  • Please select installation type

  • "; +} +?> +
+
+
+ +
+
+ +
+ + -- cgit