This commit is contained in:
2019-02-06 00:49:12 +03:00
commit 8dbb1bb605
4796 changed files with 506072 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
MANIFEST
Makefile.PL
mogtool

View File

@@ -0,0 +1,13 @@
^#
\bCVS\b
^MANIFEST\.
^Makefile$
~$
\.html$
\.old$
^blib/
_blib$
^MakeMaker-\d
^\.exists
\bdebian\b
\bconf\b

View File

@@ -0,0 +1,33 @@
#!/usr/bin/perl
use ExtUtils::MakeMaker;
my $exe_files;
foreach("mogtool", "mogadm")
{
push @$exe_files, $_ if -e;
}
warn "No \$exe_files!" unless defined($exe_files);
WriteMakefile(
NAME => 'MogileFS-Utils',
VERSION => '1.00',
AUTHOR => 'Brad Whitaker <whitaker@danga.com>',
ABSTRACT => 'MogileFS client library',
EXE_FILES => $exe_files,
PREREQ_PM => {
'LWP::Simple' => 0,
'Compress::Zlib' => 0,
},
dist => {
CI => "cvs commit",
RCS_LABEL => 'cvs tag RELEASE_$(VERSION_SYM)',
SUFFIX => ".gz",
DIST_DEFAULT => 'all tardist',
COMPRESS => "gzip",
},
);

View File

@@ -0,0 +1,20 @@
# Configuration for mogtool
# See man mogtool(1p) for a description of options
trackers = 10.0.0.3:7001, 10.10.0.5/10.0.0.5:7001
domain = mogiledomain
class = fileclass
# Location of private MogileFS library
#lib = /home/foo/lib
gzip = 1
big = 1
overwrite = 1
chunksize = 32M
# Where receipts should go to
# receipt = foo@bar.com, baz@bar.com
verify = 1
concurrent = 3

View File

@@ -0,0 +1,5 @@
mogilefs-utils (0.01-1) unstable; urgency=low
* Initial release
-- Jay Bonci <jaybonci@debian.org> Thu, 20 Jan 2005 03:11:27 -0500

View File

@@ -0,0 +1 @@
4

View File

@@ -0,0 +1,13 @@
Source: mogilefs-utils
Section: perl
Priority: optional
Maintainer: Jay Bonci <jaybonci@debian.org>
Build-Depends-Indep: debhelper (>= 4.1.40), perl (>= 5.6.0-16), libcompress-zlib-perl, libwww-perl, libmogilefs-perl
Standards-Version: 3.6.1.0
Package: mogilefs-utils
Architecture: all
Depends: ${perl:Depends}, libcompress-zlib-perl, libwww-perl, libmogilefs-perl
Description: utilities to manipulate mogileFS filesystems
The mogilefs-utils package contains tools to administrate and work with the
mogileFS filesystem from Danga Interactive.

View File

@@ -0,0 +1,25 @@
This package was debianized by Jay Bonci <jaybonci@debian.org> on
Thu Jan 20 03:12:59 EST 2005
It was downloaded from: http://cvs.danga.com/browse.cgi/wcmtools/mogilefs/utils/mogtool
Upstream Authors:
Brad Fitzpatrick <brad@danga.com>
Mark Smith <marksmith@danga.com>
Copyright:
This program is free software; you can redistribute it and/or modify
it under the terms of either:
a) the GNU General Public License as published by the Free
Software Foundation; either version 1, or (at your option) any
later version, or
b) the "Artistic License"
See:
/usr/share/common-licenses/Artistic
/usr/share/common-licenses/GPL
For more information regarding these licensing options

View File

@@ -0,0 +1,9 @@
#!/bin/sh
if [ ! -e /etc/mogilefs/ ]
then
mkdir -p /etc/mogilefs
cp /usr/share/mogilefs-utils/mogtool.conf.default /etc/mogilefs/mogtool.conf
fi
#DEBHELPER#

View File

@@ -0,0 +1,9 @@
#!/bin/sh
if [ "$1" = "purge" ]
then
rm -f /etc/mogilefs/mogtool.conf
rmdir --ignore-fail-on-non-empty /etc/mogilefs
fi
#DEBHELPER#

View File

@@ -0,0 +1,60 @@
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# This is the debhelper compatibility version to use.
# export DH_COMPAT=4
PACKAGE=`pwd | sed -e "s/.*\/\\(.*\\)-.*/\\1/"`
SHAREDIR=$(CURDIR)/debian/$(PACKAGE)/usr/share/$(PACKAGE)
build:
dh_testdir
# Add here commands to compile the package.
perl Makefile.PL verbose INSTALLDIRS=vendor
clean:
dh_testdir
dh_testroot
-$(MAKE) clean
rm -f Makefile.old
dh_clean
install:
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) PREFIX=$(CURDIR)/debian/$(PACKAGE)/usr OPTIMIZE="-O2 -g -Wall" test install
# No tests, so we smoke test like this:
perl -c mogtool
install -d $(SHAREDIR)
install -m 644 conf/mogtool.conf $(SHAREDIR)/mogtool.conf.default
-find $(CURDIR)/debian -type d | xargs rmdir -p --ignore-fail-on-non-empty
binary-arch:;
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs
dh_installman
dh_installchangelogs
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_perl
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

1316
wcmtools/mogilefs/utils/mogtool Executable file

File diff suppressed because it is too large Load Diff