init
This commit is contained in:
3
wcmtools/mogilefs/utils/MANIFEST
Executable file
3
wcmtools/mogilefs/utils/MANIFEST
Executable file
@@ -0,0 +1,3 @@
|
||||
MANIFEST
|
||||
Makefile.PL
|
||||
mogtool
|
||||
13
wcmtools/mogilefs/utils/MANIFEST.SKIP
Executable file
13
wcmtools/mogilefs/utils/MANIFEST.SKIP
Executable file
@@ -0,0 +1,13 @@
|
||||
^#
|
||||
\bCVS\b
|
||||
^MANIFEST\.
|
||||
^Makefile$
|
||||
~$
|
||||
\.html$
|
||||
\.old$
|
||||
^blib/
|
||||
_blib$
|
||||
^MakeMaker-\d
|
||||
^\.exists
|
||||
\bdebian\b
|
||||
\bconf\b
|
||||
33
wcmtools/mogilefs/utils/Makefile.PL
Executable file
33
wcmtools/mogilefs/utils/Makefile.PL
Executable 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",
|
||||
},
|
||||
|
||||
);
|
||||
|
||||
20
wcmtools/mogilefs/utils/conf/mogtool.conf
Executable file
20
wcmtools/mogilefs/utils/conf/mogtool.conf
Executable 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
|
||||
|
||||
5
wcmtools/mogilefs/utils/debian/changelog
Executable file
5
wcmtools/mogilefs/utils/debian/changelog
Executable 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
|
||||
1
wcmtools/mogilefs/utils/debian/compat
Executable file
1
wcmtools/mogilefs/utils/debian/compat
Executable file
@@ -0,0 +1 @@
|
||||
4
|
||||
13
wcmtools/mogilefs/utils/debian/control
Executable file
13
wcmtools/mogilefs/utils/debian/control
Executable 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.
|
||||
25
wcmtools/mogilefs/utils/debian/copyright
Executable file
25
wcmtools/mogilefs/utils/debian/copyright
Executable 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
|
||||
9
wcmtools/mogilefs/utils/debian/mogilefs-utils.postinst
Executable file
9
wcmtools/mogilefs/utils/debian/mogilefs-utils.postinst
Executable 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#
|
||||
9
wcmtools/mogilefs/utils/debian/mogilefs-utils.postrm
Executable file
9
wcmtools/mogilefs/utils/debian/mogilefs-utils.postrm
Executable 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#
|
||||
60
wcmtools/mogilefs/utils/debian/rules
Executable file
60
wcmtools/mogilefs/utils/debian/rules
Executable 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
1316
wcmtools/mogilefs/utils/mogtool
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user