summaryrefslogtreecommitdiff
path: root/pinyweb/cgi-bin/piny
diff options
context:
space:
mode:
authorjrayhawk+piny.be@omgwallhack.org <jrayhawk@dev.piny.svcs.cs.pdx.edu>2011-01-09 21:09:14 -0800
committerjrayhawk+piny.be@omgwallhack.org <jrayhawk@dev.piny.svcs.cs.pdx.edu>2011-01-09 21:09:14 -0800
commit56fa7965d82f66e5e4608d53e6781e8441ad16b9 (patch)
tree7198d06739216a5839c254699a1082acc9762dd4 /pinyweb/cgi-bin/piny
parent1f302515f68e317a8a997f86f313e544826391eb (diff)
downloadpiny-code-56fa7965d82f66e5e4608d53e6781e8441ad16b9.tar.gz
piny-code-56fa7965d82f66e5e4608d53e6781e8441ad16b9.zip
Move cgi-bin resources into cgi-bin/piny/ and cgi-bin/piny/auth
Diffstat (limited to 'pinyweb/cgi-bin/piny')
-rwxr-xr-xpinyweb/cgi-bin/piny/newrepo.cgi29
1 files changed, 0 insertions, 29 deletions
diff --git a/pinyweb/cgi-bin/piny/newrepo.cgi b/pinyweb/cgi-bin/piny/newrepo.cgi
deleted file mode 100755
index 450fa82..0000000
--- a/pinyweb/cgi-bin/piny/newrepo.cgi
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/perl
-$| = 1;
-
-use warnings;
-
-use CGI;
-
-use IPC::Open2;
-
-$q = CGI->new;
-
-print( "Content-type: text/plain\n\n");
-
-if( $q->param('n') && $q->param('d') ) {
- unless( open2( OUT, IN, '/usr/sbin/piny-suid', $ENV{'REMOTE_USER'}, 'newrepo', $q->param('n') ) ) {
- print 'could not execute newrepo';
- die;
- };
- # make things flushier
- select( (select(IN), $| = 1)[0] );
- select( (select(OUT), $| = 1)[0] );
- print( IN $q->param('d') . "\n" );
- close( IN );
- while( <OUT> ) {
- print;
- };
-} else {
- print 'Missing parameters.';
-};