Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial packaging #262

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 111 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
#!/usr/bin/make -f

## generic deb build script version 1.2

## This is a copy.
## master location:
## https://github.com/Whonix/Whonix/blob/master/Makefile

DESTDIR ?= /

all:
@echo "make all is not required."

dist:
./make-helper.bsh dist

undist:
./make-helper.bsh undist

debdist:
./make-helper.bsh debdist

undebdist:
./make-helper.bsh undebdist

manpages:
./make-helper.bsh manpages

uch:
./make-helper.bsh uch

install:
./make-helper.bsh install

deb-pkg:
./make-helper.bsh deb-pkg ${ARGS}

deb-pkg-signed:
./make-helper.bsh deb-pkg-signed ${ARGS}

deb-pkg-install:
./make-helper.bsh deb-pkg-install ${ARGS}

deb-pkg-source:
./make-helper.bsh deb-pkg-source ${ARGS}

deb-install:
./make-helper.bsh deb-install

deb-icup:
./make-helper.bsh deb-icup

deb-remove:
./make-helper.bsh deb-remove

deb-purge:
./make-helper.bsh deb-purge

deb-clean:
./make-helper.bsh deb-clean

deb-cleanup:
./make-helper.bsh deb-cleanup

dput-ubuntu-ppa:
./make-helper.bsh dput-ubuntu-ppa

clean:
./make-helper.bsh clean

distclean:
./make-helper.bsh distclean

checkout:
./make-helper.bsh checkout

installcheck:
./make-helper.bsh installcheck

installsim:
./make-helper.bsh installsim

uninstallcheck:
./make-helper.bsh uninstallcheck

uninstall:
./make-helper.bsh uninstall

uninstallsim:
./make-helper.bsh uninstallsim

deb-chl-bumpup:
./make-helper.bsh deb-chl-bumpup

git-tag-sign:
./make-helper.bsh git-tag-sign

git-tag-verify:
./make-helper.bsh git-tag-verify

git-tag-check:
./make-helper.bsh git-tag-check

git-commit-verify:
./make-helper.bsh git-commit-verify

git-verify:
./make-helper.bsh git-verify

help:
./make-helper.bsh help
11 changes: 11 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
tuf (1:0.2-1) unstable; urgency=low

* New upstream version.

-- Patrick Schleizer <adrelanos@riseup.net> Sun, 17 Aug 2014 20:44:58 +0000

tuf (1:0.1-2) unstable; urgency=low

* Initial release.

-- Patrick Schleizer <adrelanos@riseup.net> Sun, 17 Aug 2014 17:55:59 +0000
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
24 changes: 24 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

Source: tuf
Section: python
Priority: optional
Maintainer: Patrick Schleizer <adrelanos@riseup.net>
Build-Depends: debhelper (>= 9), faketime, python (>= 2.6)
Homepage: https://github.com/theupdateframework/tuf
Vcs-Browser: https://github.com/theupdateframework/tuf
Vcs-Git: https://github.com/theupdateframework/tuf.git
Standards-Version: 3.9.4

Package: python-tuf
Architecture: all
Depends: python (>= 2.6), ${misc:Depends}, ${python:Depends}
Description: Framework for Securing Software Update Systems
Like the S in HTTPS, a plug-and-play library for securing a software updater
.
The Update Framework (TUF) helps developers secure their new or existing
software update systems. Software update systems are vulnerable to many
known attacks, including those that can result in clients being compromised
or crashed. TUF helps solve this problem by providing a flexible security
framework that can be added to software updaters.
21 changes: 21 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Files: debian/*
Copyright: 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
License: GPL-3+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the full text of the GNU General Public
License version 3 can be found in the file
`/usr/share/common-licenses/GPL-3'.
7 changes: 7 additions & 0 deletions debian/gain-root-command
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

## This file is part of Whonix.
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

faketime -f "2013-08-15 11:02:35" fakeroot "$@"
9 changes: 9 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/usr/bin/make -f

## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

#export DH_VERBOSE=1

%:
dh $@ --with python2
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
6 changes: 6 additions & 0 deletions debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

version=3
opts=filenamemangle=s/.+\/v?(.*)\.tar\.gz/<project>-$1.tar.gz/ \
https://github.com/theupdateframework/tuf/tags .*/v?(\d[\d\.]+)\.tar\.gz
10 changes: 10 additions & 0 deletions make-helper-overrides.bsh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash

## This file is part of Whonix.
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

make_hook_at_the_end_of_get_destdir() {
DESTDIR="$DESTDIR/usr/share/pyshared"
make_folder_list_for_un_and_install="tuf"
}
Loading