Permalink
Browse files

Destroy mogdeps

Modules are years out of date, and tend to hurt more than they help now.

We should figure out carton/etc.
  • Loading branch information...
1 parent 893b63d commit 2465245c39b97ff859f310ca81dc7a43b585397a @dormando dormando committed Dec 6, 2011
Showing with 0 additions and 15,004 deletions.
  1. +0 −43 MANIFEST
  2. +0 −1 Makefile.PL
  3. +0 −4 MogileFS-Server.spec
  4. +0 −4 debian/rules
  5. +0 −19 lib/MogileFS/Server.pm
  6. +0 −1,437 lib/mogdeps/Danga/Socket.pm
  7. +0 −583 lib/mogdeps/Net/Netmask.pm
  8. +0 −1,377 lib/mogdeps/Perlbal.pm
  9. +0 −284 lib/mogdeps/Perlbal/AIO.pm
  10. +0 −755 lib/mogdeps/Perlbal/BackendHTTP.pm
  11. +0 −244 lib/mogdeps/Perlbal/Cache.pm
  12. +0 −64 lib/mogdeps/Perlbal/ChunkedUploadState.pm
  13. +0 −475 lib/mogdeps/Perlbal/ClientHTTP.pm
  14. +0 −905 lib/mogdeps/Perlbal/ClientHTTPBase.pm
  15. +0 −150 lib/mogdeps/Perlbal/ClientManage.pm
  16. +0 −1,280 lib/mogdeps/Perlbal/ClientProxy.pm
  17. +0 −35 lib/mogdeps/Perlbal/CommandContext.pm
  18. +0 −483 lib/mogdeps/Perlbal/HTTPHeaders.pm
  19. +0 −104 lib/mogdeps/Perlbal/ManageCommand.pm
  20. +0 −201 lib/mogdeps/Perlbal/Plugin/AccessControl.pm
  21. +0 −65 lib/mogdeps/Perlbal/Plugin/AtomInject.pm
  22. +0 −138 lib/mogdeps/Perlbal/Plugin/AtomStream.pm
  23. +0 −51 lib/mogdeps/Perlbal/Plugin/AutoRemoveLeadingDir.pm
  24. +0 −343 lib/mogdeps/Perlbal/Plugin/Cgilike.pm
  25. +0 −123 lib/mogdeps/Perlbal/Plugin/EchoService.pm
  26. +0 −125 lib/mogdeps/Perlbal/Plugin/Highpri.pm
  27. +0 −90 lib/mogdeps/Perlbal/Plugin/Include.pm
  28. +0 −103 lib/mogdeps/Perlbal/Plugin/LazyCDN.pm
  29. +0 −91 lib/mogdeps/Perlbal/Plugin/MaxContentLength.pm
  30. +0 −84 lib/mogdeps/Perlbal/Plugin/NotModified.pm
  31. +0 −368 lib/mogdeps/Perlbal/Plugin/Palimg.pm
  32. +0 −55 lib/mogdeps/Perlbal/Plugin/Queues.pm
  33. +0 −130 lib/mogdeps/Perlbal/Plugin/Redirect.pm
  34. +0 −167 lib/mogdeps/Perlbal/Plugin/Stats.pm
  35. +0 −179 lib/mogdeps/Perlbal/Plugin/Vhosts.pm
  36. +0 −105 lib/mogdeps/Perlbal/Plugin/Vpaths.pm
  37. +0 −301 lib/mogdeps/Perlbal/Pool.pm
  38. +0 −255 lib/mogdeps/Perlbal/ReproxyManager.pm
  39. +0 −1,686 lib/mogdeps/Perlbal/Service.pm
  40. +0 −390 lib/mogdeps/Perlbal/Socket.pm
  41. +0 −135 lib/mogdeps/Perlbal/SocketSSL.pm
  42. +0 −193 lib/mogdeps/Perlbal/TCPListener.pm
  43. +0 −401 lib/mogdeps/Perlbal/Test.pm
  44. +0 −200 lib/mogdeps/Perlbal/Test/WebClient.pm
  45. +0 −264 lib/mogdeps/Perlbal/Test/WebServer.pm
  46. +0 −107 lib/mogdeps/Perlbal/UploadListener.pm
  47. +0 −53 lib/mogdeps/Perlbal/Util.pm
  48. +0 −335 lib/mogdeps/Sys/Syscall.pm
  49. +0 −19 mogstored
View
@@ -6,49 +6,6 @@ doc/fsck-notes.txt
doc/memcache-support.txt
doc/pluggable-replication-policies.txt
doc/testing.txt
-lib/mogdeps/Danga/Socket.pm
-lib/mogdeps/Net/Netmask.pm
-lib/mogdeps/Perlbal.pm
-lib/mogdeps/Perlbal/AIO.pm
-lib/mogdeps/Perlbal/BackendHTTP.pm
-lib/mogdeps/Perlbal/Cache.pm
-lib/mogdeps/Perlbal/ChunkedUploadState.pm
-lib/mogdeps/Perlbal/ClientHTTP.pm
-lib/mogdeps/Perlbal/ClientHTTPBase.pm
-lib/mogdeps/Perlbal/ClientManage.pm
-lib/mogdeps/Perlbal/ClientProxy.pm
-lib/mogdeps/Perlbal/CommandContext.pm
-lib/mogdeps/Perlbal/HTTPHeaders.pm
-lib/mogdeps/Perlbal/ManageCommand.pm
-lib/mogdeps/Perlbal/Plugin/AccessControl.pm
-lib/mogdeps/Perlbal/Plugin/AutoRemoveLeadingDir.pm
-lib/mogdeps/Perlbal/Plugin/Highpri.pm
-lib/mogdeps/Perlbal/Plugin/NotModified.pm
-lib/mogdeps/Perlbal/Plugin/Queues.pm
-lib/mogdeps/Perlbal/Plugin/Stats.pm
-lib/mogdeps/Perlbal/Plugin/Vhosts.pm
-lib/mogdeps/Perlbal/Plugin/AtomInject.pm
-lib/mogdeps/Perlbal/Plugin/AtomStream.pm
-lib/mogdeps/Perlbal/Plugin/Cgilike.pm
-lib/mogdeps/Perlbal/Plugin/EchoService.pm
-lib/mogdeps/Perlbal/Plugin/Include.pm
-lib/mogdeps/Perlbal/Plugin/LazyCDN.pm
-lib/mogdeps/Perlbal/Plugin/MaxContentLength.pm
-lib/mogdeps/Perlbal/Plugin/Palimg.pm
-lib/mogdeps/Perlbal/Plugin/Redirect.pm
-lib/mogdeps/Perlbal/Plugin/Vpaths.pm
-lib/mogdeps/Perlbal/Pool.pm
-lib/mogdeps/Perlbal/ReproxyManager.pm
-lib/mogdeps/Perlbal/Service.pm
-lib/mogdeps/Perlbal/Socket.pm
-lib/mogdeps/Perlbal/TCPListener.pm
-lib/mogdeps/Perlbal/Test.pm
-lib/mogdeps/Perlbal/Test/WebClient.pm
-lib/mogdeps/Perlbal/Test/WebServer.pm
-lib/mogdeps/Perlbal/UploadListener.pm
-lib/mogdeps/Perlbal/Util.pm
-lib/mogdeps/Perlbal/SocketSSL.pm
-lib/mogdeps/Sys/Syscall.pm
lib/MogileFS/Class.pm
lib/MogileFS/Config.pm
lib/MogileFS/Connection/Client.pm
View
@@ -36,7 +36,6 @@ WriteMakefile(
},
META_MERGE => {
no_index => {
- directory => 'lib/mogdeps',
package => ['ProcessHandle', 'TrackerHandle', 'MogstoredHandle',
'MogPath', 'Mgd'],
},
View
@@ -38,10 +38,6 @@ make pure_install
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
-# remove mogdeps and related files
-rm -rf %{buildroot}/%{perl_vendorlib}/mogdeps
-rm -f %{buildroot}/usr/share/man/man3/mogdeps::*
-
# remove special files
find %{buildroot} \( \
-name "perllocal.pod" \
View
@@ -44,10 +44,6 @@ install-stamp:
find $(TMP) -name .packlist -exec rm '{}' \;
find $(TMP) -depth -type d -empty -exec rmdir '{}' \;
- # destroy all the mogdeps stuff
- rm -rf $(TMP)/usr/share/perl5/mogdeps
- rm -rf $(TMP)/usr/share/man/man3/mogdeps::*
-
dh_install --sourcedir=$(TMP) --fail-missing
touch install-stamp
View
@@ -15,25 +15,6 @@ MogileFS::Server - MogileFS (distributed filesystem) server
=cut
-# based on where we found this file (a pure-perl module),
-# add the mogdeps/ subdirectory of that base to our @INC search
-# path, where all the misc Mogile dependencies are installed.
-BEGIN {
- my $libpath;
- if (! $ENV{MOGILE_NO_BUILTIN_DEPS} &&
- ($libpath = $INC{"MogileFS/Server.pm"}) &&
- $libpath =~ s!MogileFS/Server.pm$!!)
- {
- my $dep_dir = "${libpath}mogdeps";
- push @INC, $dep_dir;
- unless (($ENV{PERL5LIB} || "") =~ /$dep_dir/) {
- $ENV{PERL5LIB} = join(":",
- split(/:/, $ENV{PERL5LIB} || ""),
- $dep_dir);
- }
- }
-}
-
use IO::Socket;
use Symbol;
use POSIX;
Oops, something went wrong.

0 comments on commit 2465245

Please sign in to comment.