Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=f9aa42018d5cefcab93d3c2ead81120eef0b0925
commit f9aa42018d5cefcab93d3c2ead81120eef0b0925
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date: Mon Mar 3 17:16:31 2008 +0100
update syncpkgcd documentation
- remove references to darcs
- add note about REMOTEHOME
- other minor fixes
diff --git a/syncpkgd/syncpkgcd.txt b/syncpkgd/syncpkgcd.txt
index 2b384de..7a189e5 100644
--- a/syncpkgd/syncpkgcd.txt
+++ b/syncpkgd/syncpkgcd.txt
@@ -26,15 +26,19 @@ syncpkgcd [options]
To set up syncpkgcd, you need the followings.
-* First, check your firewall: outgoing connections to `genesis.frugalware.org`
-should be allowed on ports 22 and 80.
+* First, check your firewall: outgoing connections to `git.frugalware.org`
+should be allowed on ports 22 and 80. (If you use the default Frugalware
+firewall configuration then no changes are needed.)
* Second, you need to edit the server_url, server_user and server_pass variables
-in /etc/syncpkgcd/cconfig.py.
+in /etc/syncpkgcd/cconfig.py. In most cases we (the Frugalware developers)
+provide the syncpkgd server, so contact us to get an account.
* Now switch to the syncpkgd user, using:
----
+# mkdir -p /home/syncpkgd
+# chown syncpkgd.daemon /home/syncpkgd
# su - syncpkgd
----
@@ -47,17 +51,18 @@ $ ssh-keygen -t dsa
NOTE: The `\~/.ssh/id_dsa.pub` file should be appended to
`\~/.ssh/authorized_keys` on
the server with a `command="syncpkg-shell <nick>" ` prefix.
-* Add the followings to your `\~/.repoman.conf`:
+* Add the followings to your `\~/.repoman.conf` (still as `syncpkgd`):
----
repos=('stable' 'current')
-stable_servers=("[EMAIL PROTECTED]:/home/ftp/pub/frugalware/frugalware-stable")
+stable_servers=("[EMAIL PROTECTED]:/home/ftp/pub/frugalware/frugalware-stable")
current_servers=("[EMAIL
PROTECTED]:/home/ftp/pub/frugalware/frugalware-current")
fst_root=~/repos
+REMOTEHOME=/home/syncpkgd
----
-* Now login to darcs.frugalware.org and git.frugalware.org manually so that the
-fingerprint of the servers will be added to the `\~/.ssh/known_hosts` file.
+* Now login to git.frugalware.org manually so that the fingerprint of the
+ servers will be added to the `\~/.ssh/known_hosts` file.
* You need to create the <fst_root> directory:
@@ -65,7 +70,17 @@ fingerprint of the servers will be added to the
`\~/.ssh/known_hosts` file.
$ mkdir -p ~/repos
----
-* And now you can enable and start syncpkgcd:
+* You are done with the user configuration, switch back to root and check if
+ the line
+
+----
+syncpkgd ALL=(ALL) NOPASSWD: /usr/bin/makepkg
+----
+
+is in `/etc/sudoers`. It should be, if you installed the `pacman-tools` package
+and you haven't commented it out.
+
+* Finally you can enable and start syncpkgcd as root:
----
# service syncpkgcd add
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git