aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-11-06 11:28:46 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-11-06 11:28:46 -0200
commitca70cd72c314f0945f8e52408bfd71dd9eac9225 (patch)
treee99efe6861f8765632c7767cc3e4d8cea21b5cb5
parent2fe5868931634968c6387e626baeb27075ecfc77 (diff)
downloaddebian-ca70cd72c314f0945f8e52408bfd71dd9eac9225.tar.gz
debian-ca70cd72c314f0945f8e52408bfd71dd9eac9225.tar.bz2
Index
-rw-r--r--basics.mdwn13
-rw-r--r--building.mdwn40
-rw-r--r--env.mdwn60
-rw-r--r--index.mdwn120
-rw-r--r--repositories.mdwn (renamed from repositories.md)2
-rw-r--r--ruby.mdwn2
-rw-r--r--templates/page.tmpl2
7 files changed, 130 insertions, 109 deletions
diff --git a/basics.mdwn b/basics.mdwn
index 53b19c7..0778793 100644
--- a/basics.mdwn
+++ b/basics.mdwn
@@ -1,6 +1,19 @@
Basic packaging
===============
+Configuration files
+-------------------
+
+All the commands in this guide assumes that you're using [these configuration files](https://git.fluxo.info/?p=rhatto/dotfiles/debian.git;a=summary).
+
+Starting a new package
+----------------------
+
+We use the `packages/` folder from this repo to store sources:
+
+ mkdir package/$package
+ cd package/$package
+
Getting the debianized source
-----------------------------
diff --git a/building.mdwn b/building.mdwn
new file mode 100644
index 0000000..9f6d8db
--- /dev/null
+++ b/building.mdwn
@@ -0,0 +1,40 @@
+Building
+========
+
+Standard build
+--------------
+
+ DIST=wheezy sudo -E cowbuilder --build $package*.dsc
+
+Signing
+-------
+
+To sign both the `.dsc` and the `.changes` files:
+
+ debsign $package*.changes
+
+Uploading
+---------
+
+Simply run
+
+ dupload *changes
+
+This assumes a `~/.dupload.conf` like the following:
+
+ package config;
+ $default_host = "myremote";
+
+ $cfg{'myremote'} = {
+ fqdn => "myremote.example.org",
+ login => "user",
+ method => "scpb",
+ incoming => "/var/reprepro/incoming/",
+ # The dinstall on ftp-master sends emails itself
+ #dinstall_runs => 1,
+ };
+
+It's also important that:
+
+ 1. The host remote port is correctly defined at your `~/.ssh/config`.
+ 2. The user is in the `reprepro` group in the server.
diff --git a/env.mdwn b/env.mdwn
new file mode 100644
index 0000000..b477af6
--- /dev/null
+++ b/env.mdwn
@@ -0,0 +1,60 @@
+Environment
+===========
+
+Build environment creation
+--------------------------
+
+The following steps needs to be run just once for each arch and distro version.
+
+### Setup cowbuilder chroots
+
+This is the recommended method:
+
+ sudo mkdir -p /var/cache/pbuilder/sid-amd64
+ sudo -E cowbuilder --create
+
+ sudo mkdir -p /var/cache/pbuilder/wheezy-amd64
+ sudo -E DIST=wheezy cowbuilder --create
+
+### Setup pbuilder chroots
+
+If you want to setup directly using `pbuilder`:
+
+ git-pbuilder create
+ DIST=wheezy git-pbuilder
+
+### Compatibility with git-buildpackage
+
+This is a workaround while we don't find a cleaner way to fix
+[this issue](http://ramblingfoo.blogspot.com.br/2012/10/howto-sudo-cowbuilder-git-buildpackage.html)
+with `git-buildpackage` not getting `~/.pbuilderrc` from the local user:
+
+ ( cd /var/cache/pbuilder/ && sudo ln -s sid-amd64/base.cow )
+
+External repo integration
+-------------------------
+
+If your package storage lives elsewhere, make a symlink like this:
+
+ (
+ cd /var/cache/pbuilder/wheezy-amd64 && \
+ sudo rm -rf result && \
+ sudo ln -s /var/data/apps/distros/debian/packages/build-area/wheezy-amd64 result
+ )
+
+Environment maintenance
+-----------------------
+
+These steps should be run once in a while to ensure we have an up to date packaging environment.
+
+### Pbuilder
+
+ DIST=sid git-pbuilder update
+ DIST=wheezy git-pbuilder update --override-config
+
+### Cowbuilder
+
+ DIST=sid sudo -E cowbuilder --update
+ DIST=wheezy sudo -E cowbuilder --update --override-config
+
+
diff --git a/index.mdwn b/index.mdwn
index 86f10fa..e63930f 100644
--- a/index.mdwn
+++ b/index.mdwn
@@ -11,109 +11,17 @@ Grab this repository using
git clone --recursive git://git.fluxo.info/debian.git
-Configuration files
--------------------
-
-All the commands in this guide assumes that you're using [these configuration files](https://git.fluxo.info/?p=rhatto/dotfiles/debian.git;a=summary).
-
-Starting a new package
-----------------------
-
-We use the `packages/` folder from this repo to store sources:
-
- mkdir package/$package
- cd package/$package
-
-Build environment creation
---------------------------
-
-The following steps needs to be run just once for each arch and distro version.
-
-### Setup cowbuilder chroots
-
-This is the recommended method:
-
- sudo mkdir -p /var/cache/pbuilder/sid-amd64
- sudo -E cowbuilder --create
-
- sudo mkdir -p /var/cache/pbuilder/wheezy-amd64
- sudo -E DIST=wheezy cowbuilder --create
-
-### Setup pbuilder chroots
-
-If you want to setup directly using `pbuilder`:
-
- git-pbuilder create
- DIST=wheezy git-pbuilder
-
-### Compatibility with git-buildpackage
-
-This is a workaround while we don't find a cleaner way to fix
-[this issue](http://ramblingfoo.blogspot.com.br/2012/10/howto-sudo-cowbuilder-git-buildpackage.html)
-with `git-buildpackage` not getting `~/.pbuilderrc` from the local user:
-
- ( cd /var/cache/pbuilder/ && sudo ln -s sid-amd64/base.cow )
-
-External repo integration
--------------------------
-
-If your package storage lives elsewhere, make a symlink like this:
-
- (
- cd /var/cache/pbuilder/wheezy-amd64 && \
- sudo rm -rf result && \
- sudo ln -s /var/data/apps/distros/debian/packages/build-area/wheezy-amd64 result
- )
-
-Environment maintenance
------------------------
-
-These steps should be run once in a while to ensure we have an up to date packaging environment.
-
-### Pbuilder
-
- DIST=sid git-pbuilder update
- DIST=wheezy git-pbuilder update --override-config
-
-### Cowbuilder
-
- DIST=sid sudo -E cowbuilder --update
- DIST=wheezy sudo -E cowbuilder --update --override-config
-
-Building
---------
-
- DIST=wheezy sudo -E cowbuilder --build $package*.dsc
-
-Signing
--------
-
-To sign both the `.dsc` and the `.changes` files:
-
- debsign $package*.changes
-
-Uploading
----------
-
-Simply run
-
- dupload *changes
-
-This assumes a `~/.dupload.conf` like the following:
-
- package config;
- $default_host = "myremote";
-
- $cfg{'myremote'} = {
- fqdn => "myremote.example.org",
- login => "user",
- method => "scpb",
- incoming => "/var/reprepro/incoming/",
- # The dinstall on ftp-master sends emails itself
- #dinstall_runs => 1,
- };
-
-It's also important that:
-
- 1. The host remote port is correctly defined at your `~/.ssh/config`.
- 2. The user is in the `reprepro` group in the server.
+Index
+-----
+
+* [Basics](basics).
+* [Environment](env).
+* [Checking sources](checking).
+* [Building](building).
+* [Repositories](repositories).
+* [References](references).
+* [TODO](todo).
+* Custom procedures:
+ * [LEAP](leap).
+ * [Python](python).
+ * [Ruby](ruby).
diff --git a/repositories.md b/repositories.mdwn
index 8f66d72..8cb956f 100644
--- a/repositories.md
+++ b/repositories.mdwn
@@ -11,7 +11,7 @@ Reprepro:
* [puppet-reprepro](https://git.sarava.org/?p=puppet-reprepro.git;a=summary).
Alguns links sobre como instalar e usar o reprepro:
* [reprepro](http://mirrorer.alioth.debian.org/).
-* [HowToSetupADebianRepository](http://wiki.debian.org/HowToSetupADebianRepository?highlight=(reprepro)).
+* [HowToSetupADebianRepository](http://wiki.debian.org/HowToSetupADebianRepository).
* [Setting up your own APT repository with upload support](http://www.debian-administration.org/article/Setting_up_your_own_APT_repository_with_upload_support).
* [Setting up a basic Debian repository with reprepro](https://noc.sidux.com/fll/wiki/reprepro).
* [Setting up and managing an APT repository with reprepro](http://www.jejik.com/articles/2006/09/setting_up_and_managing_an_apt_repository_with_reprepro/).
diff --git a/ruby.mdwn b/ruby.mdwn
index c11a92d..d84e20a 100644
--- a/ruby.mdwn
+++ b/ruby.mdwn
@@ -2,4 +2,4 @@ Ruby packaging
==============
* See [this](https://wiki.debian.org/Teams/Ruby/Packaging).
-* Example: `leap.md`.
+* Example: [LEAP](/leap).
diff --git a/templates/page.tmpl b/templates/page.tmpl
index b525d22..590445c 100644
--- a/templates/page.tmpl
+++ b/templates/page.tmpl
@@ -51,7 +51,7 @@
<li><a href="<TMPL_VAR URL>"><TMPL_VAR PAGE></a> <span class="divider">/</span> </li>
</TMPL_LOOP>
<li><TMPL_VAR TITLE></li>
- <li><span class="divider">|</span> <a href="/meta">Meta</a></li>
+ <!--<li><span class="divider">|</span> <a href="/meta">Meta</a></li>-->
<li><span class="divider">|</span> <a href="<TMPL_VAR HISTORYURL>">History</a></li>
<li><span class="divider">|</span> <a href="/index.rss">Feed</a></li>
</ul>