Permalink
Browse files

Import Debian packaging.

  • Loading branch information...
1 parent 451e943 commit 70bee211a4e90ac67355e563367fc6a0ea1d6426 @jelmer jelmer committed Apr 15, 2010
Showing with 134 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +7 −0 debian/changelog
  3. +1 −0 debian/compat
  4. +24 −0 debian/control
  5. +21 −0 debian/copyright
  6. +5 −0 debian/install
  7. +30 −0 debian/postinst
  8. +16 −0 debian/preinst
  9. +8 −0 debian/prerm
  10. +13 −0 debian/prey-config.desktop
  11. +4 −0 debian/rules
  12. +1 −0 debian/source/format
View
@@ -0,0 +1,4 @@
+debian/files
+debian/*.substvars
+debian/*.log
+debian/prey
View
@@ -0,0 +1,7 @@
+prey (0.3.73-1) unstable; urgency=low
+
+ [ Jelmer Vernooij ]
+ * Import original packaging from Tomas.
+ * Initial release. (Closes: #577932)
+
+ -- Jelmer Vernooij <jelmer@debian.org> Thu, 15 Apr 2010 13:52:51 +0200
View
@@ -0,0 +1 @@
+7
View
@@ -0,0 +1,24 @@
+Source: prey
+Section: admin
+Priority: extra
+Maintainer: Tomas Pollak <tomas@preyproject.com>
+Uploaders: Jelmer Vernooij <jelmer@debian.org>
+Build-Depends: debhelper (>> 7.0.0), python-central, python
+Homepage: http://www.preyproject.com/
+Standards-Version: 3.8.4
+XS-Python-Version: all
+
+Package: prey
+Architecture: all
+Priority: optional
+Depends: openssl, scrot, curl, streamer, libio-socket-ssl-perl, libnet-ssleay-perl, ${misc:Depends}
+Recommends: python-gtk, ${python:Depends}
+Section: utils
+Description: utility for tracking stolen computers
+ Prey is a lightweight program that will help you track and find your laptop if
+ it ever gets stolen.
+ .
+ Prey comprises a shell script which calls out on a regular basis to
+ either a server run by prey project, or a url nominated by the system
+ administrator. A graphical configuration tool is also provided which is
+ used to maintain the simple config file.
View
@@ -0,0 +1,21 @@
+This packages was debianized on Thu Apr 15 13:44:13 CEST 2010 by
+Tomas Pollak and Jelmer Vernooij.
+
+The tarball was exported from the git repository at
+git://github.com/tomas/prey
+
+Upstream authors:
+ Tomas Pollak
+ Diego Torres
+ Juan Carlos Mardones
+ Newstart/MKHCB
+ Rodrigo Linfati
+ Michael Smith
+ Pablo Poo
+
+Copyright: (C) 2010 Fork Ltd.
+
+License: GPLv3
+ Prey is distributed under the terms of the GNU General Public License,
+ version 3 or later. The text of the license is available on Debian systems
+ in the /usr/share/common-licenses/GPL-3 file.
View
@@ -0,0 +1,5 @@
+debian/prey-config.desktop /usr/share/applications
+platform/linux/prey-config.py /usr/bin
+core/* /usr/share/prey/core
+lang/* /usr/share/prey/lang
+pixmaps/* /usr/share/prey/pixmaps
View
@@ -0,0 +1,30 @@
+#!/bin/bash
+####################################################################
+# Prey Debian Postinst Script - by Tomas Pollak (bootlog.org)
+# URL : http://preyproject.com
+# License: GPLv3
+####################################################################
+
+TIMING=20
+INSTALLPATH=/usr/share/prey
+PREY_FILE=prey.sh
+
+# make sure the config file is only readable by root
+# chmod 700 $INSTALLPATH/config
+
+# create crontab entry
+(crontab -l | grep -v prey; echo "*/$TIMING * * * * $INSTALLPATH/$PREY_FILE > /dev/null") | crontab -
+
+message="Smooth! Now you should run the configurator in System Tools to finish setting up Prey."
+
+if [ `which notify-send` ]; then
+ `which notify-send` "Prey install complete" "$message"
+elif [ `which zenity` ]; then
+ `which zenity` --info --text "$message"
+elif [ `which kdialog` ]; then
+ `which kdialog` --msgbox "$message"
+fi
+
+#DEBHELPER#
+
+exit 0
View
@@ -0,0 +1,16 @@
+#!/bin/bash
+####################################################################
+# Prey Debian Preinstall Script - by Tomas Pollak (bootlog.org)
+# URL : http://preyproject.com
+# License: GPLv3
+####################################################################
+
+INSTALLPATH=/usr/share/prey
+
+if [ -f $INSTALLPATH/config ]; then
+ mv $INSTALLPATH/config $INSTALLPATH/config.backup
+fi
+
+#DEBHELPER#
+
+exit 0
View
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+# Remove crontab line
+(crontab -l | grep -v prey) | crontab -
+
+#DEBHELPER#
+
+exit 0
View
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=Prey Configurator
+GenericName=Prey Configurator
+Comment=Configure Prey Laptop Tracker Settings
+Exec=su-to-root -c /usr/bin/prey-config
+Terminal=false
+Type=Application
+Icon=/usr/share/prey/pixmaps/prey.png
+Categories=Application;System;
+Name[en_US]=Prey Configurator
+GenericName[en_US]=Configurator for the Prey Laptop Tracker
View
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $*
View
@@ -0,0 +1 @@
+3.0 (quilt)

0 comments on commit 70bee21

Please sign in to comment.