From 132399131386a4a386bc2a7a07ca2c5156fb3e22 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 8 Sep 2016 20:51:08 -0400 Subject: add license/author info to sbosubmit, use https since http no longer works --- sbosubmit | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'sbosubmit') diff --git a/sbosubmit b/sbosubmit index cbf3040..95db5d9 100755 --- a/sbosubmit +++ b/sbosubmit @@ -1,5 +1,10 @@ #!/usr/bin/perl -w +# automated submission client for slackbuilds.org web form. +# by B. Watson . +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# run with no arguments for usage instructions. + use LWP; use Getopt::Std; @@ -100,7 +105,7 @@ print STDERR "Uploading..."; $ua = LWP::UserAgent->new; $ua->agent('Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)'); $resp = $ua->post( - 'http://slackbuilds.org/process_submit/', + 'https://slackbuilds.org/process_submit/', [ MAX_FILE_SIZE => '100000', userfile => [ $userfile ], category => $category, @@ -109,7 +114,7 @@ $resp = $ua->post( comments => $comments, submit => 'Upload File' ], Content_Type => 'form-data', - Referer => 'http://slackbuilds.org/submit/', + Referer => 'https://slackbuilds.org/submit/', ); print STDERR "\n"; -- cgit v1.2.3