This is the mail archive of the
cygwin-apps-cvs
mailing list for the cygwin-apps project.
[cygwin-apps htdocs - The cygwin-apps website files] branch master, updated. cfac34e27dfcf9d22923a6c55c304983a8bfba04
- From: jturney at sourceware dot org
- To: cygwin-apps-cvs at sourceware dot org
- Date: 11 Dec 2016 17:35:43 -0000
- Subject: [cygwin-apps htdocs - The cygwin-apps website files] branch master, updated. cfac34e27dfcf9d22923a6c55c304983a8bfba04
https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/apps-htdocs.git;h=cfac34e27dfcf9d22923a6c55c304983a8bfba04
commit cfac34e27dfcf9d22923a6c55c304983a8bfba04
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date: Sun Dec 11 17:09:50 2016 +0000
Remove package-server.html, moved to main cygwin website
Also remove links from navigation and add a redirect
Diff:
---
.htaccess | 1 +
index.html | 1 -
package-server.html | 172 ---------------------------------------------------
package-upload.html | 1 -
setup-head.ini.html | 1 -
setup.html | 3 +-
6 files changed, 2 insertions(+), 177 deletions(-)
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..767184a
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1 @@
+Redirect /package-server.html https://cygwin.com/package-server.html
diff --git a/index.html b/index.html
index 107db41..b3e3e36 100644
--- a/index.html
+++ b/index.html
@@ -47,7 +47,6 @@
<a href="setup.html">setup.exe</a>
<ul>
<li><a href="setup-head.ini.html">setup.ini </a><br />
- <li><a href="package-server.html">Package server</a><br />
<li><a href="package-upload.html">Uploading packages</a><br />
</ul>
<a href="http://cygwin.com">cygwin.com</a><br />
diff --git a/package-server.html b/package-server.html
deleted file mode 100644
index b81847e..0000000
--- a/package-server.html
+++ /dev/null
@@ -1,172 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!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" xml:lang="en" lang="en">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<link href="cygwin-apps.css" title="cygwin-apps" media="screen" type="text/css" rel="stylesheet" />
-<title>The Cygwin setup.exe Package Server</title>
-</head>
-<body>
-
-<div id="header">
-<h1>The Cygwin <tt>setup.exe</tt> Package Server</h1>
-</div>
-
-<div id="main">
-<p>
-This page documents how to create a server download tree that Cygwin's
-<tt>setup.exe</tt> understands, including the <tt>genini</tt> script that
-creates <tt>setup.ini</tt> files. Please note that the instructions on this
-page work at the present time, but may change in the future. They are provided
-on a strictly as-is basis. You can download <tt>genini</tt> from the
-<a href="https://sourceware.org/viewvc/cygwin-apps/genini/">Cygwin-apps
-CVS</a>.
-</p>
-
-<p>
-They should be useful for creating a local mirror with or without custom Cygwin
-packages. At the present, we recommend using an Apache web server running on a
-Linux distribution such as <a href="http://debian.org">Debian GNU/Linux</a>
-since not all the software works properly on Cygwin. If you want information
-on how to install Cygwin, read the <a
-href="http://sourceware.org/cygwin/cygwin-ug-net/setup-net.html">Setting Up
-Cygwin</a> page. For more information on creating packages that
-<tt>setup.exe</tt> understands, read the <a href="http://cygwin.com/setup.html">
-Cygwin Package Contributor's Guide</a>.</p>
-<a name="local-mirror"></a>
-<h2>Creating a local Cygwin mirror with rsync</h2>
-
-You do not need to know anything about how the server tree is created if
-you just want a copy of an existing tree. Simply follow these steps:
-<ol>
-<li> The first step in creating a local Cygwin mirror is to pick which
- existing mirror you will download your packages from. A list of
- mirrors can be found <a href="http://cygwin.com/mirrors.html">here</a>.
-</li>
-<li>
- Download the current Cygwin tree. Currently the Cygwin tree is roughly
- 80 GB of disk space. If disk space is a problem, you may want to use a
- public mirror and only add your own custom packages as described in the
- next section. (Substitute your chosen mirror
- for <em>example.com</em> and your DocumentRoot for <em>/var/www/</em>):
- <pre>
- rsync -vaz rsync://<em>example.com/pub/cygwin/ /var/www/</em>cygwin
- </pre>
-</li>
-<li>
- Test the mirror by pointing a browser at
- <tt>http://<em>your-server</em>/cygwin/</tt>. You should see Cygwin's
- <tt>setup.exe</tt>, the <tt>setup.bz2</tt> file, the <tt>release</tt>
- directory, and other items such as the mailing list archives. If your
- server is not configured to show directory indexes, you can download
- <tt>http://<em>your-server</em>/cygwin/setup.exe</tt> directly. Run
- <tt>setup.exe</tt> and type the URL of your server.
-</li>
-<li>
- Assuming everything works properly, you are almost done. You now have
- a current Cygwin mirror, but you need to keep it updated by running the
- <tt>rsync</tt> command periodically. The easiest way to do this is by
- putting it in your <tt>crontab</tt>.
-</li>
-</ol>
-
-<a name="custom-mirror"></a>
-<h2>Creating a custom Cygwin package server</h2>
-<p>NOTE: The instructions below may be out of date. If you are running a
-custom package server and can update this documentation, please send it to the
-cygwin-apps list.
-</p>
-<p>
-The package format that <tt>setup.exe</tt> understands is well documented
-in the <a href="http://cygwin.com/setup.html">Cygwin Package Contributor's
-Guide</a>, which mentions that the <tt>setup.ini</tt> file (compressed to
-<tt>setup.bz2</tt>) is generated by a script. This perl script is named
-<tt>genini</tt>, and it can be downloaded from CVS and used to create a custom
-Cygwin package server. If you are planning on creating a custom package
-server, we strongly recommend subscribing to the cygwin-apps mailing list
-where changes in the <tt>setup.ini</tt> format and <tt>genini</tt> are
-discussed and announced.
-</p>
-<ol>
-<li>
-Download the <tt>genini</tt> script from the
- <a href="https://sourceware.org/viewvc/cygwin-apps/genini/">Cygwin-apps
- CVS</a>.
-It also requires the <tt>Archive::Perl</tt> module which you can install via
-CPAN or <tt>apt-get install libarchive-tar-perl</tt> on Debian.
-</li>
-<li>
- Create a directory to store your files (i.e., the <tt>setup.*</tt> files
- and the release/ tree). I use <tt>/var/www/custom-cygwin/</tt>. Put a
- copy of <tt>setup.exe</tt> in that directory (for <tt>genini</tt> to get
- the version number). If you also created a local mirror as described
- above, you can link those files:
- <pre>
- #!/bin/sh
- mkdir custom-cygwin
- cd custom-cygwin
- ln -s /var/www/cygwin/setup.exe .
- mkdir release
- cd release
- ln -s /var/www/cygwin/release/* .
- </pre>
- That way you can use only your custom mirror to get all the packages.
- Note that whenever a new package is uploaded, you will need to link its
- directory to your custom mirror.
-</li>
-<li>
- Add your custom package to the release tree. You can add an empty
- package in the <tt>Base</tt> categories that depends on several other
- packages to automatically install them for anyone using your custom
- mirror. For example:
- <pre>
- #!/bin/sh
- mkdir custompackage
- cd custompackage
- touch custompackage-0.0.1-1.tar.bz2
- touch custompackage-0.0.1-1-src.tar.bz2
- cat > setup.hint << EOF
- @ custompackage
- sdesc: "My favorite packages"
- ldesc: "My favorite packages"
- category: Base
- requires: bzip2 clear cygwin-doc file less openssh pinfo rxvt wget
- EOF
- </pre>
-</li>
-<li>
- Run genini to create <tt>setup.bz2</tt> for <tt>setup.exe</tt>:
- <pre>
- genini > setup
- bzip2 setup
- </pre>
- You will see error messages from <tt>genini</tt> about non-existant
- pacakages if you do not have a full mirror (or if you made an error
- in a <tt>setup.hint</tt> file).
-</li>
-<li>
- Test your mirror with <tt>setup.exe</tt>!
-</li>
-</ol>
-</pre>
-</div>
-</div>
-
-<div id="navigation">
-<a href="index.html">Cygwin-Apps Home</a><br />
-<a href="http://www.cygwin.com/lists.html#cygwin-apps">mailing list</a><br />
-<a href="setup.html">setup.exe</a>
-<ul>
- <li><a href="setup-head.ini.html">setup.ini </a><br />
- <li><a href="package-server.html">Package server</a><br />
- <li><a href="package-upload.html">Uploading packages</a><br />
-</ul>
-<a href="http://cygwin.com">cygwin.com</a><br />
-<a href="http://sourceware.org">sourceware.org</a><br />
-</div>
-
-<div id="footer">
-</div>
-</body>
-</html>
diff --git a/package-upload.html b/package-upload.html
index 74d4788..052d40b 100644
--- a/package-upload.html
+++ b/package-upload.html
@@ -223,7 +223,6 @@ you aren't listed as an owner there your packages won't be updated.
<a href="setup.html">setup.exe</a>
<ul>
<li><a href="setup-head.ini.html">setup.ini </a><br />
- <li><a href="package-server.html">Package server</a><br />
<li><a href="package-upload.html">Uploading packages</a><br />
</ul>
<a href="http://cygwin.com">cygwin.com</a><br />
diff --git a/setup-head.ini.html b/setup-head.ini.html
index 3c9da48..2ecfc87 100644
--- a/setup-head.ini.html
+++ b/setup-head.ini.html
@@ -156,7 +156,6 @@ make, automake, autoconf
<a href="setup.html">setup.exe</a>
<ul>
<li><a href="setup-head.ini.html">setup.ini </a><br/>
- <li><a href="package-server.html">Package server</a><br/>
<li><a href="package-upload.html">Uploading packages</a><br />
</ul>
<a href="http://cygwin.com">cygwin.com</a><br/>
diff --git a/setup.html b/setup.html
index e18c91b..3175d4a 100644
--- a/setup.html
+++ b/setup.html
@@ -30,7 +30,7 @@ Cygwin</a> page. For more information on creating packages that
Cygwin Package Contributor's Guide</a>.
Instruction on creating a local mirror with or without custom Cygwin packages
can be found on the <a
-href="package-server.html">package
+href="https://cygwin.com/package-server.html">package
server</a> page.
</p>
@@ -78,7 +78,6 @@ Setup supports a few command-line arguments. They can be listed using the
<a href="setup.html">setup</a>
<ul>
<li><a href="setup-head.ini.html">setup.ini </a><br/>
- <li><a href="package-server.html">Package server</a><br/>
<li><a href="package-upload.html">Uploading packages</a><br />
</ul>
<a href="http://cygwin.com">cygwin.com</a><br/>