aboutsummaryrefslogtreecommitdiffstats
path: root/modules/rpmdragora
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-07-08 10:18:16 +0200
committerAngelo Naselli <anaselli@linux.it>2014-07-08 10:18:16 +0200
commit19b5ffb0b42208ff42b437e0b33a95311a1c0774 (patch)
tree79647a485803a7c103557a4f020845c72b923d7f /modules/rpmdragora
parent3d6b7b5a76b50103c148560e2b322ecc8c777243 (diff)
downloadmanatools-19b5ffb0b42208ff42b437e0b33a95311a1c0774.tar
manatools-19b5ffb0b42208ff42b437e0b33a95311a1c0774.tar.gz
manatools-19b5ffb0b42208ff42b437e0b33a95311a1c0774.tar.bz2
manatools-19b5ffb0b42208ff42b437e0b33a95311a1c0774.tar.xz
manatools-19b5ffb0b42208ff42b437e0b33a95311a1c0774.zip
Removed, read/write proxy configuration is in edit-urpm-suources module
Diffstat (limited to 'modules/rpmdragora')
-rw-r--r--modules/rpmdragora/grpmi/Makefile37
-rw-r--r--modules/rpmdragora/grpmi/curl_download/Makefile13
-rw-r--r--modules/rpmdragora/grpmi/curl_download/Makefile.PL9
-rw-r--r--modules/rpmdragora/grpmi/curl_download/curl_download.pm24
4 files changed, 0 insertions, 83 deletions
diff --git a/modules/rpmdragora/grpmi/Makefile b/modules/rpmdragora/grpmi/Makefile
deleted file mode 100644
index 29be902e..00000000
--- a/modules/rpmdragora/grpmi/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
- #******************************************************************************
- #
- # Guillaume Cottenceau (gc@mandrakesoft.com)
- #
- # Copyright 2002 MandrakeSoft
- #
- # This software may be freely redistributed under the terms of the GNU
- # public license.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program; if not, write to the Free Software
- # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- #
- #*****************************************************************************
-
-DIRS = curl_download
-
-PREFIX = /usr/local
-DATADIR = $(PREFIX)/share
-SBINDIR = $(PREFIX)/sbin
-
-all: dirs
-
-dirs:
- @for n in . $(DIRS); do \
- [ "$$n" = "." ] || make -C $$n || exit 1 ;\
- done
-
-install: $(ALL)
- @for n in $(DIRS); do \
- (cd $$n; $(MAKE) install) \
- done
-
-clean:
- @for n in $(DIRS); do \
- (cd $$n; make clean) \
- done
diff --git a/modules/rpmdragora/grpmi/curl_download/Makefile b/modules/rpmdragora/grpmi/curl_download/Makefile
deleted file mode 100644
index 363ad0af..00000000
--- a/modules/rpmdragora/grpmi/curl_download/Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
-.PHONY: clean
-
-curl_download:
- test -e Makefile_c || perl Makefile.PL
- $(MAKE) -f Makefile_c
-
-install:
- test -e Makefile_c || perl Makefile.PL
- $(MAKE) -f Makefile_c install
-
-clean:
- test ! -e Makefile_c || $(MAKE) -f Makefile_c clean
- rm -f *~ *.o
diff --git a/modules/rpmdragora/grpmi/curl_download/Makefile.PL b/modules/rpmdragora/grpmi/curl_download/Makefile.PL
deleted file mode 100644
index 9bb1eebe..00000000
--- a/modules/rpmdragora/grpmi/curl_download/Makefile.PL
+++ /dev/null
@@ -1,9 +0,0 @@
-use ExtUtils::MakeMaker;
-
-WriteMakefile(
- 'NAME' => 'curl_download',
- 'INSTALLDIRS' => 'vendor',
- 'VERSION_FROM' => 'curl_download.pm', # finds VERSION
- 'INC' => '-I.',
- 'MAKEFILE' => 'Makefile_c',
-);
diff --git a/modules/rpmdragora/grpmi/curl_download/curl_download.pm b/modules/rpmdragora/grpmi/curl_download/curl_download.pm
deleted file mode 100644
index 034df5f6..00000000
--- a/modules/rpmdragora/grpmi/curl_download/curl_download.pm
+++ /dev/null
@@ -1,24 +0,0 @@
-package curl_download;
-
-use strict;
-use urpm::download;
-
-our $VERSION = '1.2';
-
-sub readproxy (;$) {
- my $proxy = get_proxy($_[0]);
- ($proxy->{http_proxy} || $proxy->{ftp_proxy} || '',
- defined $proxy->{user} ? "$proxy->{user}:$proxy->{pwd}" : '');
-}
-
-sub writeproxy {
- my ($proxy, $proxy_user, $o_media_name) = @_;
- my ($user, $pwd) = split /:/, $proxy_user;
- set_proxy_config(user => $user, $o_media_name);
- set_proxy_config(pwd => $pwd, $o_media_name);
- set_proxy_config(http_proxy => $proxy, $o_media_name);
- set_proxy_config(ftp_proxy => $proxy, $o_media_name);
- dump_proxy_config();
-}
-
-1;