[slbackup-commit] CVS update: slbackup-php/debian changelog compat control copyright links postinst postrm prerm rules slbackup.desktop

finnarne-guest at alioth.debian.org finnarne-guest at alioth.debian.org
Fri Apr 13 09:41:33 UTC 2007


  User: finnarne-guest
  Date: 07/04/13 09:41:33

  Added:       debian   changelog compat control copyright links postinst
                        postrm prerm rules slbackup.desktop
  Log:
  Tried to debianize this Package, by copying most of Makefile and debian/ from lwat
  
  Revision  Changes    Path
  1.1                  slbackup-php/debian/changelog
  
  Index: changelog
  ===================================================================
  slbackup-php (0.0.1) UNSTABLE; urgency=low
  
    * Initial upload (Closes: #405076)
  
   -- Finn-Arne Johansen <finnarne at fajx300.bzzware.org>  Fri, 13 Apr 2007 11:34:45 +0200
  
  
  
  1.1                  slbackup-php/debian/compat
  
  Index: compat
  ===================================================================
  5
  
  
  
  1.1                  slbackup-php/debian/control
  
  Index: control
  ===================================================================
  Source: slbackup-php
  Section: misc
  Priority: optional
  Maintainer: Finn-Arne Johansen <faj at bzz.no>
  Standards-Version: 3.7.2
  Build-Depends: debhelper (>= 5), po-debconf
  
  Package: slbackup-php
  Architecture: all
  Depends: debconf | debconf-2.0, libapache2-mod-php5, apache2, smarty, ssh
  Description: slbackup-php, an administration tool for slbackup
   Aims to provide the necesarry functions to maintain a slbackup-repository
   That means the ability to 
   - schedule the execution of slbackup (through cron)
   - edit the configuration file
   - verify that last backup went ok (todo)
   - verify that ssh-keys are working (todo)
   - restore from backups (todo)
   - remove old backups from the repository (todo)
  
  
  
  1.1                  slbackup-php/debian/copyright
  
  Index: copyright
  ===================================================================
  This package was debianized by upstream author Finn-Arne Johansen
  <faj at bzz.no> on Fri, 13 Apr 2007 11:30:00 +0200.
  
  Copyright holder:
  
  Finn-Arne Johansen <faj at bzz.no>
  
  License:
  
  You are free to distribute this software under the terms of
  the GNU General Public License.
  
  On Debian systems, the complete text of the GNU General Public
  License can be found in the file /usr/share/common-licenses/GPL.
  
  
  
  1.1                  slbackup-php/debian/links
  
  Index: links
  ===================================================================
  etc/lwat/apache.conf etc/apache2/sites-available/lwat
  
  
  
  1.1                  slbackup-php/debian/postinst
  
  Index: postinst
  ===================================================================
  #!/bin/sh
  
  set -e
  
  . /usr/share/debconf/confmodule
  
  if [ -x /usr/sbin/a2ensite ] && [ -x /usr/sbin/a2enmod ]; then
          /usr/sbin/a2ensite slbackup >/dev/null
  	/usr/sbin/a2enmod rewrite > /dev/null
          if [ -x /usr/sbin/invoke-rc.d ] ; then
                  /usr/sbin/invoke-rc.d apache2 force-reload || :
          else
                  [ -x /etc/init.d/apache2 ] && /etc/init.d/apache2 force-reload || :
          fi
  else
          echo "Can't detect apache2 package and therefore not enabling the site"
  fi
  
  mkdir -p /var/spool/slbackup-php
  
  if [ -d /var/spool/slbackup-php ]; then
  	chown www-data:www-data /var/spool/slbackup-php/
  fi
  
  db_stop
  
  #DEBHELPER#
  
  
  
  1.1                  slbackup-php/debian/postrm
  
  Index: postrm
  ===================================================================
  #!/bin/sh
  
  set -e 
  
  rm -rf /var/spool/slbackup-php/
  
  #DEBHELPER#
  
  
  
  1.1                  slbackup-php/debian/prerm
  
  Index: prerm
  ===================================================================
  #!/bin/sh
  
  set -e
  
  if [ -x /usr/sbin/a2dissite ] && [ -L /etc/apache2/sites-enabled/slbackup-php ] ; then
          /usr/sbin/a2dissite slbackup-php >/dev/null
          if [ -x "`which invoke-rc.d 2>/dev/null`" ] ; then
                  /usr/sbin/invoke-rc.d apache2 force-reload || :
          else
                  [ -x /etc/init.d/apache2 ] && /etc/init.d/apache2 force-reload || :
          fi
  else
  	echo "Can't detect apache2-common, so don't disabling slbackup-php."
  fi
  
  #DEBHELPER#
  
  
  
  1.1                  slbackup-php/debian/rules
  
  Index: rules
  ===================================================================
  #!/usr/bin/make -f
  # -*- makefile -*-
  
  
  build: build-stamp
  
  build-stamp:  
  	dh_testdir
  	$(MAKE)
  	touch build-stamp
  
  clean:
  	dh_testdir
  	dh_testroot
  	rm -f build-stamp
  	-$(MAKE) clean
  	dh_clean
  	debconf-updatepo
  
  install: build
  	dh_testdir
  	dh_testroot
  	dh_clean -k 
  	-$(MAKE) mo-files
  	dh_installdirs
  	$(MAKE) install DESTDIR=$(CURDIR)/debian/slbackup-php prefix=/usr
  
  
  binary-arch: 
  
  binary-indep: build install
  	dh_testdir
  	dh_testroot
  	dh_installchangelogs 
  	dh_installdocs ./ChangeLog 
  	mv $(CURDIR)/debian/slbackup-php/usr/share/doc/slbackup-php/ChangeLog $(CURDIR)/debian/slbackup-php/usr/share/doc/slbackup-php/changelog
  	dh_installcron
  	dh_installdebconf
  	dh_installman
  	dh_link
  	dh_strip
  	dh_compress
  	dh_fixperms 
  	dh_installdeb
  	dh_shlibdeps
  	dh_gencontrol
  	dh_md5sums
  	dh_builddeb
  
  binary: binary-indep binary-arch
  .PHONY: build clean binary-indep binary-arch binary install
  
  
  
  1.1                  slbackup-php/debian/slbackup.desktop
  
  Index: slbackup.desktop
  ===================================================================
  [Desktop Entry]
  Encoding=UTF-8
  Name=slbackup-php
  GenericName=SLBackup configuration tool
  Comment=Webpage for configuring slbackup
  Version=1.0
  TryExec=x-www-browser https://tjener/slbackup-php/
  Exec=x-www-browser https://tjener/slbackup-php/
  Terminal=false
  Type=Application
  Categories=Application;Network;System;Security
  
  
  



More information about the slbackup-commit mailing list