[Frugalware-git] pacman-tools: syncpkg-shell: import

VMiklos vmiklos at frugalware.org
Fri Sep 28 00:53:56 CEST 2007


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=1de8288e1b4f963585229eeb570afeb7b3f8224c

commit 1de8288e1b4f963585229eeb570afeb7b3f8224c
Author: VMiklos <vmiklos at frugalware.org>
Date:   Fri Sep 28 00:52:53 2007 +0200

syncpkg-shell: import
this is a small wrapper so that we can see what key was used while using the
same account (syncpkgd)

diff --git a/syncpkgd/Makefile b/syncpkgd/Makefile
index 6ed22c2..e745b0b 100644
--- a/syncpkgd/Makefile
+++ b/syncpkgd/Makefile
@@ -11,6 +11,7 @@ install:
install syncpkgcd.py $(DESTDIR)/usr/bin/syncpkgcd
install syncpkgdctl.py $(DESTDIR)/usr/bin/syncpkgdctl
install syncpkgd.py $(DESTDIR)/usr/bin/syncpkgd
+	install syncpkg-shell $(DESTDIR)/usr/bin/syncpkg-shell
mkdir -p $(DESTDIR)/var/log/syncpkgd/clientlogs
chown 12:2 $(DESTDIR)/var/log/syncpkgd/clientlogs
mkdir -p $(DESTDIR)/var/log/syncpkgd
diff --git a/syncpkgd/syncpkg-shell b/syncpkgd/syncpkg-shell
new file mode 100644
index 0000000..17917f6
--- /dev/null
+++ b/syncpkgd/syncpkg-shell
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+export uploader="syncpkgd+$1"
+
+eval $SSH_ORIGINAL_COMMAND


More information about the Frugalware-git mailing list