forked from pauldreik/rdfind
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Paul Dreik
committed
Jul 6, 2013
1 parent
277d5f9
commit 7c33fb4
Showing
18 changed files
with
396 additions
and
112 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
1.2.2 | ||
1.2.2+ | ||
|
||
Note that the version number exists at three places: | ||
here (file VERSION) | ||
configure.in | ||
rdfind.1 (the man page) | ||
|
||
$Revision: 92 $ | ||
$Id: VERSION 92 2006-03-26 09:27:32Z pauls $ | ||
$Revision: 100 $ | ||
$Id: VERSION 100 2006-04-04 10:00:59Z pauls $ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
#this file is version $Revision: 235 $ | ||
|
||
#follow http://www.debian.org/doc/maint-guide/ch-start.en.html | ||
|
||
|
||
mkdir -p debianize_rdfind | ||
cd debianize_rdfind/ | ||
cp ~/code/eget/cvs/paulsundvall.net/rdfind/rdfind-1.2.2.tar.gz . | ||
tar xvzf rdfind-1.2.2.tar.gz | ||
cd rdfind-1.2.2 | ||
dh_make -e [email protected] -f ../rdfind-1.2.2.tar.gz | ||
#(answer s, single binary) | ||
#emacs debian/control | ||
cp /tmp/control debian/ | ||
#emacs debian/copyright | ||
|
||
#emacs debian/changelog | ||
cp /tmp/copyright debian/ | ||
#leave debian/rules unchanged | ||
rm debian/README.Debian | ||
#debian/conffiles.ex was missing! should be deleted anyway... | ||
rm debian/*.ex | ||
#rm debian/cron.d.ex | ||
#changed debian/dirs to contain only usr/bin | ||
echo "usr/bin"> debian/dirs | ||
#debian/docs unchanged | ||
rm debian/emacsen-* | ||
# rm debian/init.d.ex | ||
cp /tmp/rdfind.1 debian/ | ||
#emacs debian/menu.ex | ||
echo '?package(rdfind):needs="text" section="Apps/Util"\ | ||
title="rdfind" command="/usr/bin/rdfind"'>debian/menu | ||
rm debian/rdfind.doc-base.EX | ||
dpkg-buildpackage -rfakeroot -k0x509CCB46 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
rdfind (1.2.2-1) unstable; urgency=low | ||
|
||
* Initial release | ||
|
||
-- Paul Sundvall <[email protected]> Sun, 26 Nov 2006 10:34:21 +0100 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
Source: rdfind | ||
Section: utils | ||
Priority: extra | ||
Maintainer: Paul Sundvall <[email protected]> | ||
Build-Depends: debhelper (>= 5), autotools-dev, libnettle-dev | ||
Standards-Version: 3.7.2 | ||
|
||
Package: rdfind | ||
Architecture: any | ||
Depends: ${shlibs:Depends} | ||
Description: A tool to find duplicate files | ||
Rdfind is a tool to find duplicate files based on their content. | ||
Optionally, duplicate files can be replaced with hardlinks, symbolic links | ||
or deleted. Per default, a report file is generated and a report on the | ||
aumount of disk space that can be reduced is shown on standard output. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
This package was debianized by Paul Sundvall <[email protected]> on | ||
Sun, 26 Nov 2006 10:34:21 +0100. | ||
|
||
It was downloaded from http://rdfind.paulsundvall.net | ||
|
||
Upstream Author: Paul Sundvall <[email protected]> | ||
|
||
Copyright: Paul Sundvall 2006 and on. | ||
|
||
License: | ||
|
||
Rdfind is available under GPL, see `/usr/share/common-licenses/GPL'. | ||
|
||
|
||
The Debian packaging is (C) 2006, Paul Sundvall <[email protected]> and | ||
is licensed under the GPL, see `/usr/share/common-licenses/GPL'. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
#!/bin/bash | ||
|
||
#$Date: 2006-11-26 12:17:24 +0100 (sön, 26 nov 2006) $ | ||
#$Rev: 238 $ | ||
#$Author: pauls $ | ||
#$Id: create_package.sh 238 2006-11-26 11:17:24Z pauls $ | ||
|
||
echo "this is made from http://people.connexer.com/~roberto/howtos/debrepository and works, except that it wont be signed." | ||
|
||
sourcedirs="$HOME/tmp/debianize_rdfind/" | ||
repdir=$HOME/tmp/debian_repository | ||
|
||
mkdir -p $repdir | ||
|
||
|
||
pushd $repdir | ||
|
||
rm packages* | ||
rm *.conf | ||
rm dists/* -rf | ||
rm binary/* -rf | ||
rm source/* -rf | ||
rmdir binary* | ||
rmdir source* | ||
rmdir dists | ||
rm Release Packages Release.gz Packages.gz | ||
|
||
|
||
|
||
#from http://people.connexer.com/~roberto/howtos/debrepository | ||
|
||
echo will now create the directory structure | ||
|
||
mkdir -p dists | ||
mkdir -p dists/sarge | ||
#mkdir -p dists/sarge/contrib | ||
#mkdir -p dists/sarge/contrib/binary-i386 | ||
#mkdir -p dists/sarge/contrib/source | ||
mkdir -p dists/sarge/main | ||
mkdir -p dists/sarge/main/binary-i386 | ||
mkdir -p dists/sarge/main/source | ||
#mkdir -p dists/sarge/non-free | ||
#mkdir -p dists/sarge/non-free/binary-i386 | ||
#mkdir -p dists/sarge/non-free/source | ||
|
||
|
||
|
||
echo will now move the packages to the correct places | ||
|
||
for srcdir in $sourcedirs; do | ||
find $srcdir -type f -name "*.deb" -exec cp {} dists/sarge/main/binary-i386 \; -print | ||
find $srcdir -type f -a \( -name "*.orig.gz" -o -name "*.diff.gz" -o -name "*.dsc" \) -exec cp {} dists/sarge/main/source \; -print | ||
done | ||
|
||
|
||
|
||
echo 'APT::FTPArchive::Release::Origin "Your name or organization"; | ||
APT::FTPArchive::Release::Label "Descriptive label"; | ||
APT::FTPArchive::Release::Suite "stable"; | ||
APT::FTPArchive::Release::Codename "sarge"; | ||
APT::FTPArchive::Release::Architectures "i386 source"; | ||
APT::FTPArchive::Release::Components "main"; | ||
APT::FTPArchive::Release::Description "More detailed description"; | ||
'>apt-sarge-release.conf | ||
|
||
echo 'Dir { | ||
ArchiveDir "."; | ||
CacheDir "."; | ||
}; | ||
Default { | ||
Packages::Compress ". gzip bzip2"; | ||
Sources::Compress "gzip bzip2"; | ||
Contents::Compress "gzip bzip2"; | ||
}; | ||
BinDirectory "dists/sarge/main/binary-i386" { | ||
Packages "dists/sarge/main/binary-i386/Packages"; | ||
Contents "dists/sarge/Contents-i386"; | ||
SrcPackages "dists/sarge/main/source/Sources"; | ||
}; | ||
Tree "dists/sarge" { | ||
Sections "main"; | ||
Architectures "i386 source"; | ||
}; | ||
Default { | ||
Packages { | ||
Extensions ".deb"; | ||
}; | ||
}; | ||
'>apt-ftparchive.conf | ||
|
||
apt-ftparchive generate apt-ftparchive.conf | ||
apt-ftparchive -c apt-sarge-release.conf release dists/sarge/ >dists/sarge/Release | ||
|
||
gpg -u 0x509CCB46 --sign -ba -o dists/sarge/Release.gpg dists/sarge/Release | ||
exit | ||
|
||
ssh atle 'rm -rf /var/www/debian/*' | ||
scp -r * atle:/var/www/debian/ |
Oops, something went wrong.