View Single Post
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#7
i like your style. don't even apologize. don't answer any questions from people with less than 9000 posts.
ummmmmmmm
conflicts with iw
not cool
i think thats why i did mine like this:
Code:
Source: aircrack-ng-1.1
Section: user/network
Priority: extra
Maintainer: Lance Colton <Lance@unknown>
Build-Depends: debhelper (>= 5)
Standards-Version: 3.7.2

Package: aircrack-ng-1.1
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, iw
Replaces: aircrack-ng
Description: Aircrack-ng is a set of tools for auditing wireless networks.
 Contains:
  airmon-ng: wifi interface mode switcher
  airodump-ng: wifi discovery and monitoring tool, 
  aireplay-ng: inject packets over wifi
  aircrack-ng: test wifi security (...)
  and more...
  Official website: http://www.aircrack-ng.org
change the name, they can't "conflict" with you :P
(change your package name and replace the original)



here's the rules file too while i'm at it, in case another one ever comes out and we don't update these:

Code:
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1




CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif

configure: configure-stamp
configure-stamp:
	dh_testdir
	# Add here commands to configure the package.

	touch configure-stamp


build: build-stamp

build-stamp: configure-stamp 
	dh_testdir

	# Add here commands to compile the package.
	$(MAKE) sqlite=true unstable=true
	#docbook-to-man debian/aircrack-ng-1.1.sgml > aircrack-ng-1.1.1

	touch $@

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp configure-stamp

	# Add here commands to clean up after the build process.
	-$(MAKE) clean

	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	# Add here commands to install the package into debian/aircrack-ng-1.1.
	$(MAKE) DESTDIR=$(CURDIR)/debian/aircrack-ng-1.1 sqlite=true unstable=true install


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs ChangeLog
	dh_installdocs
	dh_installexamples
#	dh_install
#	dh_installmenu
#	dh_installdebconf	
#	dh_installlogrotate
#	dh_installemacsen
#	dh_installpam
#	dh_installmime
#	dh_python
#	dh_installinit
#	dh_installcron
#	dh_installinfo
	dh_installman
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
#	dh_perl
#	dh_makeshlibs
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	maemo-optify
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure

Last edited by Creamy Goodness; 2011-05-25 at 07:11.
 

The Following 2 Users Say Thank You to Creamy Goodness For This Useful Post: