Subversion Repositories pub

Compare Revisions

Ignore whitespace Rev 128 → Rev 129

/relevation/branches/0.2/Makefile
2,21 → 2,31
prefix:=/usr/local
DESTDIR:=
 
BIN=relevation
PKG=relevation
VERSION=$(shell echo -e 'import relevation\nprint relevation.__version__' | python -)
PKGVER=$(PKG)-$(VERSION)
 
all: $(BIN).1
 
all: $(PKG).1
 
clean:
-$(RM) $(BIN).pyc
-$(RM) $(PKG).pyc
 
install:
install -D -m755 $(BIN).py $(DESTDIR)$(prefix)/bin/$(BIN)
install -D -m644 $(BIN).1 $(DESTDIR)$(prefix)/share/man/man1/$(BIN).1
install -D -m755 $(PKG).py $(DESTDIR)$(prefix)/bin/$(PKG)
install -D -m644 $(PKG).1 $(DESTDIR)$(prefix)/share/man/man1/$(PKG).1
 
uninstall:
-$(RM) $(DESTDIR)$(prefix)/$(BIN)
-$(RM) $(DESTDIR)$(prefix)/$(PKG)
-rmdir --parents $(DESTDIR)$(prefix)/bin
 
$(BIN).1: manpage.sgml
$(PKG).1: manpage.sgml
docbook-to-man $< > $@
 
TAR_EXCLUDES=--exclude=debian --exclude-vcs --exclude=$(PKGVER)
dist:
-$(RM) $(PKGVER).tar.gz
-mkdir $(PKGVER)
tar c . $(TAR_EXCLUDES) | ( cd $(PKGVER) && tar x )
tar zcvf $(PKGVER).tar.gz $(PKGVER)
-$(RM) -r $(PKGVER)
/relevation/branches/0.2/relevation.py
109,7 → 109,8
 
sys.stderr.write('Relevation v%s, (c) 2011 Toni Corvera\n\n' % __version__)
try:
ops, args = getopt.getopt(sys.argv[1:], 'f:p:s:0ciah',
# gnu_getopt requires py >= 2.3
ops, args = getopt.gnu_getopt(sys.argv[1:], 'f:p:s:0ciah',
[ 'file=', 'password=', 'search=', 'stdin',
'case-sensitive', 'case-insensitive', 'ask',
'help', 'version' ])
/relevation/branches/0.2/upstream.debian/docs
File deleted
/relevation/branches/0.2/upstream.debian/control
10,7 → 10,7
 
Package: relevation
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, python, python-libxml2, python-crypto
Depends: ${shlibs:Depends}, ${misc:Depends}, python (>= 2.3), python-libxml2, python-crypto
Recommends: revelation
Description: Command-line interface to query Revelation files
This is a command-line tool capable of retrieving passwords from
/relevation/branches/0.2/CHANGELOG
7,6 → 7,7
- Added debian packaging
- Handle input errors more gracefully
- Added manpage
- GNU-style getopt
 
0.1.0 (2011-06-24) (internal)
- Initial proof of concept