First Commit

This commit is contained in:
leeboby
2020-10-30 09:50:39 +08:00
commit e5f9bb65ac
845 changed files with 177861 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
# libDRI2
# needed only on Debian
# required for xf86-video-fbturbo and libmali-sunxi-r3p0
local package_name="libDRI2"
local package_repo="https://github.com/robclark/libdri2.git"
local package_ref="branch:master"
local package_upstream_version="1.0.1"
local package_builddeps="xutils-dev x11proto-xext-dev x11proto-dri2-dev pkg-config libxfixes-dev libxext-dev libdrm-dev dh-autoreconf"
local package_install_chroot="libdri2-1 libdri2-dev"
local package_install_target="libdri2-1"
local package_component="${release}-desktop"
package_checkbuild()
{
[[ $release == jessie ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun*i && $BRANCH == legacy && $RELEASE == jessie && $BUILD_DESKTOP == yes ]]
}

View File

@@ -0,0 +1,21 @@
# libvdpau
# required for libvdpau-sunxi
local package_name="libvdpau"
local package_repo="https://anongit.freedesktop.org/git/vdpau/libvdpau.git"
local package_ref="branch:master"
local package_builddeps="graphviz ghostscript doxygen-latex x11proto-dri2-dev pkg-config libxext-dev libx11-dev dh-autoreconf"
local package_upstream_version="1.1.1-10"
local package_install_chroot="libvdpau1 libvdpau-dev"
local package_install_target="libvdpau1"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $release != xenial && $release != stretch && $release != bionic && $release != disco && $release != buster && $release != focal ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun*i && $BRANCH == legacy && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
}

View File

@@ -0,0 +1,21 @@
# libUMP
# required for libmali-sunxi-r3p0
# may be required for libcedrus
local package_name="libUMP"
local package_repo="https://github.com/rellla/libump.git"
local package_ref="branch:ump"
local package_builddeps="dh-autoreconf pkg-config"
local package_install_chroot="libump libump-dev"
local package_install_target="libump"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $arch == armhf && $release != stretch && $release != bionic && $release != buster && $release != disco ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun*i && $BRANCH == legacy && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
}

View File

@@ -0,0 +1,21 @@
# libcedrus
# required for libvdpau-sunxi
# may depend on libump
local package_name="libcedrus"
local package_repo="https://github.com/linux-sunxi/libcedrus.git"
local package_ref="branch:master"
local package_upstream_version="1.0.1"
local package_install_chroot="libcedrus1 libcedrus1-dev"
local package_install_target="libcedrus1"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $release != stretch && $release != bionic && $release != buster && $release != disco ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun*i && $RELEASE != stretch && $RELEASE != bionic && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
}

View File

@@ -0,0 +1,22 @@
# xf86-video-fbturbo
# depends on libUMP
# depends on libDRI on Jessie
local package_name="xf86-video-fbturbo"
local package_repo="https://github.com/ssvb/xf86-video-fbturbo.git"
local package_ref="branch:master"
local package_builddeps="dh-autoreconf pkg-config xserver-xorg-dev x11proto-core-dev x11proto-fonts-dev x11proto-randr-dev x11proto-render-dev x11proto-video-dev xutils-dev"
local package_builddeps_xenial="libdri2-dev"
local package_install_target="xserver-xorg-video-fbturbo"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $release != stretch && $release != bionic ]]
[[ $release != stretch && $release != bionic && $release != buster && $release != disco ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun*i && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes && $BRANCH == default ]]
}

View File

@@ -0,0 +1,21 @@
# xf86-video-armsoc
local package_name="xf86-video-armsoc"
local package_repo="https://anongit.freedesktop.org/git/xorg/driver/xf86-video-armsoc.git"
local package_ref="tag:1.4.1"
local package_upstream_version="1.4.1"
local package_builddeps="dh-autoreconf libdrm-dev libudev-dev libxext-dev pkg-config x11proto-core-dev x11proto-fonts-dev x11proto-gl-dev x11proto-xf86dri-dev xutils-dev xserver-xorg-dev"
local package_install_target="xserver-xorg-video-armsoc-sun4i"
local package_component="${release}-desktop"
package_checkbuild()
{
# until we have access to properly licensed arm64 mali binary drivers
[[ $arch == armhf ]]
}
package_checkinstall()
{
# TODO: enable installing this after testing and updating the repository
#[[ ( $LINUXFAMILY == sunxi || $LINUXFAMILY == sunxi64 ) && $BUILD_DESKTOP == yes && $BRANCH != default ]]
false
}

View File

@@ -0,0 +1,19 @@
# fswebcam-gc2035
local package_name="fswebcam-gc2035"
local package_repo="https://github.com/avafinger/fswebcam.git"
local package_ref="branch:master"
local package_builddeps="libgd2-xpm-dev libgd2-noxpm-dev libjpeg-dev libpng-dev libfreetype6-dev libv4l-dev"
local package_install_target="fswebcam-gc2035"
local package_arch="armhf"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $arch == armhf && $release != stretch && $release != bionic ]]
}
package_checkinstall()
{
false
}

View File

@@ -0,0 +1,20 @@
# guvcview
# depends on FFmpeg
local package_name="guvcview"
local package_repo="https://github.com/avafinger/guvcview.git"
local package_ref="branch:master"
local package_upstream_version="2.0.2.1"
local package_builddeps="intltool dh-autoreconf autotools-dev libavcodec-dev libavutil-dev libsdl1.2-dev libgtk-3-dev portaudio19-dev libpng12-dev libudev-dev libusb-1.0-0-dev libpulse-dev libgsl0-dev libv4l-dev libv4l2rds0 libsdl2-dev"
local package_install_target="libguvcview-1.1-1 guvcview"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $arch == armhf && $release != stretch && $release != bionic ]]
}
package_checkinstall()
{
false
}

View File

@@ -0,0 +1,21 @@
# hostapd-realtek
local package_name="hostapd-realtek"
local package_repo="http://w1.fi/hostap.git"
local package_ref="tag:hostap_2_5"
local package_upstream_version="3:2.5-4"
local package_builddeps="pkg-config libreadline-dev libpcsclite-dev libnl-route-3-dev libnl-genl-3-dev libnl-3-dev libncurses5-dev libdbus-1-dev docbook-utils docbook-to-man"
local package_builddeps_jessie="libssl-dev"
local package_builddeps_xenial="libssl-dev"
local package_builddeps_stretch="libssl1.0-dev"
local package_install_target="hostapd-realtek"
local package_component="${release}-utils"
package_checkbuild()
{
false
}
package_checkinstall()
{
false
}

View File

@@ -0,0 +1,18 @@
# hostapd
local package_name="hostapd"
local package_repo="http://w1.fi/hostap.git"
local package_ref="tag:hostap_2_9"
local package_upstream_version="3:2.9-102"
local package_builddeps="pkg-config libssl-dev libreadline-dev libpcsclite-dev libnl-route-3-dev libnl-genl-3-dev libnl-3-dev libncurses5-dev libdbus-1-dev docbook-utils docbook-to-man"
local package_install_target="hostapd"
local package_component="${release}-utils"
package_checkbuild()
{
true
}
package_checkinstall()
{
true
}

View File

@@ -0,0 +1,25 @@
# htop
local package_name="htop"
local package_repo="https://github.com/hishamhm/htop"
local package_ref="tag:2.2.0"
local package_upstream_version="2.2.0-5"
local package_builddeps="debhelper dpkg-dev libhwloc-dev libncurses5-dev libncursesw5-dev pkg-config"
local package_install_target="htop"
local package_component="${release}-utils"
if [[ $release == focal ]]; then
package_builddeps+=" python3-minimal:native"
else
package_builddeps+=" python-minimal:native"
fi
package_checkbuild()
{
[[ $release != xenial && $release != stretch && $release != jessie ]]
}
package_checkinstall()
{
true
}

View File

@@ -0,0 +1,19 @@
# glshim
local package_name="libglshim"
local package_repo="https://github.com/ptitSeb/gl4es.git"
local package_ref="tag:v0.9.2"
local package_upstream_version="1:0.9.2"
local package_builddeps="cmake libx11-dev libsdl1.2-dev"
local package_install_target="libglshim"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $arch == armhf && $release != stretch && $release != bionic && $release != buster && $release != disco && $release != focal ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun[4578]i && $BRANCH == legacy && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
}

View File

@@ -0,0 +1,21 @@
# libmali-sunxi-r3p0
# depends on libUMP
# depends on libdri2 on Jessie
local package_name="libmali-sunxi-r3p0"
local package_repo="https://github.com/linux-sunxi/sunxi-mali.git"
local package_ref="branch:master"
local package_builddeps="xutils-dev libdrm-dev libxfixes-dev"
local package_builddeps_xenial="libdri2-dev"
local package_install_target="libmali-sunxi-r3p0"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $arch == armhf && $release != stretch && $release != bionic && $release != buster && $release != disco && $release != focal ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun[4578]i && $BRANCH == default && $RELEASE != stretch && $RELEASE != bionic && $BUILD_DESKTOP == yes ]]
}

View File

@@ -0,0 +1,21 @@
# libmali-sunxi-r3p0
# depends on libUMP
# depends on libdri2 on Jessie
local package_name="libmali-sunxi-r3p0"
local package_repo="https://github.com/linux-sunxi/sunxi-mali.git"
local package_ref="branch:master"
local package_builddeps="xutils-dev libdrm-dev libxfixes-dev libegl1-mesa-dev libgles1-mesa-dev libgles2-mesa-dev"
local package_builddeps_xenial="libdri2-dev"
local package_install_target="libmali-sunxi-r3p0 mali-sunxi-utils"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch
[[ $arch == armhf && $release != stretch ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun[4578]i && $BRANCH == default && $RELEASE != stretch && $BUILD_DESKTOP == yes ]]
}

View File

@@ -0,0 +1,22 @@
# libvdpau-sunxi
# depends on libcedrus
# depends on libvdpau
# dev branch depends on libcsptr-dev
local package_name="libvdpau-sunxi"
local package_repo="https://github.com/linux-sunxi/libvdpau-sunxi.git"
local package_ref="branch:master"
local package_upstream_version="0.5.1"
local package_builddeps="libpixman-1-dev pkg-config"
local package_install_target="libvdpau-sunxi1"
local package_component="${release}-desktop"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
[[ $release != xenial && $release != stretch && $release != bionic && $release != buster && $release != disco && $release != focal ]]
}
package_checkinstall()
{
[[ $LINUXFAMILY == sun*i && $RELEASE != stretch && $RELEASE != bionic && $BRANCH == legacy && $BUILD_DESKTOP == yes ]]
}

View File

@@ -0,0 +1,16 @@
# mmc-utils
local package_name="mmc-utils"
local package_repo="https://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git"
local package_ref="branch:master"
local package_install_target="mmc-utils"
local package_component="${release}-utils"
package_checkbuild()
{
true
}
package_checkinstall()
{
true
}

View File

@@ -0,0 +1,18 @@
# sunxi-tools
local package_name="sunxi-tools"
local package_repo="https://github.com/linux-sunxi/sunxi-tools.git"
local package_ref="branch:master"
local package_upstream_version="1.4.2-2"
local package_builddeps="libusb-1.0-0-dev ruby binutils-arm-none-eabi pkg-config u-boot-tools zlib1g-dev"
local package_install_target="sunxi-tools"
local package_component="${release}-utils"
package_checkbuild()
{
true
}
package_checkinstall()
{
true
}

View File

@@ -0,0 +1,20 @@
# swconfig
local package_name="swconfig"
local package_repo="https://github.com/jekader/swconfig.git"
local package_ref="branch:master"
local package_builddeps="linux-headers-armmp libnl-3-dev libnl-genl-3-dev"
local package_upstream_version="15.04-2"
local package_install_target="swconfig"
local package_component="${release}-utils"
package_checkbuild()
{
# we don't support running kernels < 3.13 on Stretch or Bionic
# matching kernel headers on Xenial is complicated and R1 is not supported anymore anyway
[[ $arch == armhf && $release == jessie ]]
}
package_checkinstall()
{
[[ $BOARD == lamobo-r1 && $RELEASE == jessie && $BRANCH == default ]]
}

View File

@@ -0,0 +1,31 @@
# Requirements
* Xenial build host
* Extra 5GB of disk space
# Limitations
* Packages are built only for Jessie, Xenial and Stretch targets, installing on older distributions may be done manually if dependencies can be satisfied
# TODO
### Process
* Switch from qemu & distcc to multiarch cross-compiling if possible
### Package-specific:
* libvdpau-sunxi: select branch (master or dev)
## Notes
libcedrus compiled without USE_UMP=1 requires access to /dev/ion
libcedrus compiled with USE_UMP=1 caused segfault last time I tested video playback with mpv
libmali-sunxi-r3p0 contains *.so symlinks (instead of libmali-sunxi-dev) to help searching libraries by SONAME for libMali.so
libmali-sunxi-r3p0 is packaged differently for [Debian](https://www.debian.org/doc/debian-policy/ap-pkg-diversions.html) and [Ubuntu](https://wiki.ubuntu.com/X/EGLDriverPackagingHOWTO)
libglshim1 is installed to private directory (`/usr/lib/arm-linux-gnueabihf/glshim`) and can be activated by using LD_LIBRARY_PATH

View File

@@ -0,0 +1,11 @@
Origin of "debianization" archives/overlays:
guvcview: http://packages.ubuntu.com/xenial/guvcview / http://archive.ubuntu.com/ubuntu/pool/universe/g/guvcview/
hostapd: http://packages.ubuntu.com/xenial/hostapd / http://archive.ubuntu.com/ubuntu/pool/main/w/wpa/
libcedrus: http://ppa.launchpad.net/longsleep/ubuntu-pine64-flavour-makers/ubuntu/pool/main/libc/libcedrus/
libcsptr-dev: http://ppa.launchpad.net/snaipewastaken/ppa/ubuntu/pool/main/libc/libcsptr-dev/
libdri2-1: http://packages.ubuntu.com/xenial/libdri2-1 / http://archive.ubuntu.com/ubuntu/pool/universe/libd/libdri2/
libump: https://github.com/rellla/libump (http://ppa.launchpad.net/longsleep/ubuntu-pine64-flavour-makers/ubuntu/pool/main/libu/libump/ can be used too)
libvdpau-sunxi: http://ppa.launchpad.net/longsleep/ubuntu-pine64-flavour-makers/ubuntu/pool/main/libv/libvdpau-sunxi/
sunxi-tools: http://packages.ubuntu.com/ru/xenial/sunxi-tools / http://archive.ubuntu.com/ubuntu/pool/universe/s/sunxi-tools/
swconfig: https://github.com/jekader/swconfig
xf86-video-fbturbo: https://github.com/igorpecovnik/lib/pull/384

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,38 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1
mQENBFeksLIBCAC1Hy5UwoSKTRhR1r4eoL2/HcyWklmLjVimKooMfHoXv0dHIt45
2QJ7/qfT7gqVGfEMuo1/iewR3NZqyGCjTk8hGa67E+Lj6j+6VTYOMJDnCJC176rB
XSq3IJIkm1ipQBweYarvNvXq9WOFP/Yv820oyS+1vaWImTZ8eXczwIjPK3XOMnkT
RvOetXf9Ngc1m2WKmejoYz33RXcMBxYhSMSWwzNkl42j6cF+bPXpQ8YSmn3mfz9Q
awzcSE8+HBVfsdjz/yOwbhbieenujbK81y0ZWzqJmpc9NIe7kzu0CNm1u21YmrTc
FjtJ4OuukgZNusO9frcTBalgoMpbeod10+gPABEBAAG0ZkFybWJpYW4gYnVpbGRl
ciAoVGVtcG9yYXJ5IGtleSBmb3IgaW5zdGFsbGluZyBwYWNrYWdlcyBkdXJpbmcg
QXJtYmlhbiBpbWFnZSBjcmVhdGlvbikgPHJvb3RAbG9jYWxob3N0PokBOAQTAQIA
IgUCV6SwsgIbLwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQkrkN4ZJWRKZi
rQgAncDSFDmejfWzRZX43Mz8NAo5di6KxMMg6lDVZHeQMrSP/xYwUbxBykIyyAED
XGxnJFO2SHMC7qDR5dopZTZprc4CqKRw3EtpbBAZ31LnnG7PH6joP9GNFFoQEtNC
9I5UJLF6AEoTarVfbF7Ktqr3a7Db79VvIwayrmU3hYry4iwl9oB+ycov7he3Ha4H
uIlvNS4dLdXsu7J4jc14hw8+hnnfO87O/hqnzgVDFZorNr8g1mzbkmGtqXyKGfL1
YoVMkPZU9cljxXFri9LDedr/C97jppZa3c0lVmq6nn6NnnWdLCVaJD6y33Hhd4Id
H6X0S45LVWPrVSQciO7KY5e6cbkBDQRXpLCyAQgAyUoYtowjp/ix8jZ42LbnFrPu
DuFzHSq7TdcHCgYEjs6nyl4uWNglH8CHbAkw4hwxp+XPiDmuyOosh1gVMvfkTf5f
HT8YqEdhGIk6z9PmV66A3Q3+++VRgdK0eXV1zC2IHAu0l8nY+oGmni8OVKIDjsbC
ZPzcRNczI39hO2uKYge67kqaAPD+kTIlLVwa2+uH0bopbaYrKqRc5vGsXMSPQMu5
HpKptVySM2T9TSK3gIGy7Nu4dJFTAFaqALa60iRYHcEyLbfypWrBcSTKEofe/kR3
3D9rNUDtPYHXkPr291DJd/W2oLVaRmvAMJsJzUJpalkndeY91EDhdZLuRH7sAQAR
AQABiQI+BBgBAgAJBQJXpLCyAhsuASkJEJK5DeGSVkSmwF0gBBkBAgAGBQJXpLCy
AAoJELH9KFlTzV8e4Z0H/1gSFktFVo3WMc42YDgM5IKmnYksdJ+yMkO35QWqhJ3g
3DLWj53kkefmMOF8s5d6vV13gtyaGk3h8ghqL+u6X1Kum4mSaouz9F4UOfk62+ic
koX8WxoKGHCRksfjeTtgGytVdERhzPOSm6SbpnPJSCKxUcZ5rf1KxWrMBLCPzrik
UkVJ+1TrLXP9X3C1H2gmmCmEjqzPClhvR2D+g0L/sCoN3YCafKBMMxSQ5Z774gZq
ZSPqlbT9KaDO8Fsi2N2sjkE2iUMXpN9W6IgUkyKvILgWOD+fV0KN00casJh7wCiA
qYYT48Ul1YVXMR8PhyK/jbsw9x9NHtNvy+Uf+YIffueXxwgApsIAH9z07rhbFq78
StiCqKb0eSsKbmGbGERjFAsvNqVrFDw5tfSkqYI+GClYqOu4QK16s8nvllkA3/1F
QGWtfoxAOjw1AZjdaWkcF041Dfi8ksWiJ31Wk0NOn1SMP/nkTn3x/HWdPolWI9oc
JaF9WxtL57SVwwI0VSWAd1JPIhXhpmuJwI8NpzWeN4if8ffA+cKmyxO1tlZsquLh
xrWohIcleLlBMAyehScoQNo68oZEu7ys9If3r6Dhicy0PsNkwgJ+yZnar3v35bqW
W/Wfd+vKufrULTWFHlBMSXL1O8PXNqmHvm6dGkq/ZX3mUgQTf+14oeKq63kpIJ1f
MkHaDA==
=6CjZ
-----END PGP PUBLIC KEY BLOCK-----

View File

@@ -0,0 +1,10 @@
fswebcam-gc2035 (20140113-1) unstable; urgency=low
* Update debian/watch
* Import Upstream version 20140113
* Bump Standards-Version to 3.9.5 (no changes needed)
* Move to debhelper 9
* Import CPPFLAGS during build
* Move packaging to git
-- Luca Niccoli <lultimouomo@gmail.com> Tue, 21 Jan 2014 00:02:55 +0100

View File

@@ -0,0 +1 @@
9

View File

@@ -0,0 +1,21 @@
Source: fswebcam-gc2035
Section: graphics
Priority: optional
Maintainer: Luca Niccoli <lultimouomo@gmail.com>
Build-Depends: debhelper (>= 9.20120417), libgd2-noxpm-dev | libgd2-xpm-dev, libv4l-dev
Standards-Version: 3.9.5
Homepage: https://github.com/avafinger/fswebcam
Package: fswebcam-gc2035
Architecture: linux-any
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: fswebcam
Conflicts: fswebcam
Description: Tiny and flexible webcam program
Fswebcam is a tiny and flexible webcam command-line program for capturing
images from a V4L1/V4L2 device. It accepts a number of formats, can skip
the first (possibly bad) frames before performing the actual capture, and
can perform simple manipulation on the captured image, such as resizing,
averaging multiple frames or overlaying a caption or an image.
.
This is the version for Orange Pi boards with gc2035 camera

View File

@@ -0,0 +1,62 @@
This package was debianized by Luca Niccoli <lultimouomo@gmail.com> on
Wed, 28 Jan 2008 16:05:41 +0100.
It was downloaded from http://www.firestorm.cx/fswebcam/files/
Upstream author: Philip Heron <phil@sanslogic.co.uk>
Licence (videodev_mjpeg.h):
videodev_mjpeg.h is a part of mjpegtools, written by
Rainer Johanni <Rainer@Johanni.de>
Gernot Ziegler <gz@lysator.liu.se>
Andrew Stevens <andrew.stevens@nexgo.de>
Bernhard Praschinger <shadowlord@utanet.at>
Ronald Bultje <rbultje@ronald.bitfreak.net>
Xavier Biquard <biquard@free.fr>
Matthew Marjanovic <maddog@mir.com>
Philipp Zabel <pzabel@gmx.de>
Kawamata/Hitoshi <hitoshi.kawamata@nifty.ne.jp>
Stefan Fendt <stefan@lionfish.ping.de>
Scott Moser <smoser@brickies.net>
Shawn Sulma <lavtools@athos.cx>
Mike Bernson <mike@mlb.org>
James Klicman <james@klicman.org>
mjpegtools is distributed under the terms of the GNU General Public
License, version 2. You may use, modify, and redistribute it under the
terms of this license.
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, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
License (everything else):
Copyright 2004-2009 Philip Heron <phil@sanslogic.co.uk>
This program is distributed under the terms of the GNU General Public
License, version 2. You may use, modify, and redistribute it under the
terms of this license.
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, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
The Debian packaging is © 2010, Luca Niccoli <lultimouomo@gmail.com> and is
licensed under the same license as the upstream source, see above.
On Debian GNU/Linux systems, the complete text of the GNU General Public
License can be found in `/usr/share/common-licenses/GPL-2' file.

View File

@@ -0,0 +1,46 @@
# Description: Use headers from linux-libc-dev instead of the old included ones.
# Author: Luca Niccoli <lultimouomo@gmail.com>
# Forwarded: not-needed
Index: fswebcam-20101118/src_v4l1.c
===================================================================
--- fswebcam-20101118.orig/src_v4l1.c 2011-06-25 18:10:24.702074598 +0200
+++ fswebcam-20101118/src_v4l1.c 2011-06-25 18:13:54.387114371 +0200
@@ -19,7 +19,7 @@
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
-#include "videodev.h"
+#include <libv4l1-videodev.h>
#include "videodev_mjpeg.h"
#include "src.h"
#include "log.h"
Index: fswebcam-20101118/src_v4l2.c
===================================================================
--- fswebcam-20101118.orig/src_v4l2.c 2011-06-25 18:10:24.730074738 +0200
+++ fswebcam-20101118/src_v4l2.c 2011-06-25 18:12:13.794615566 +0200
@@ -19,7 +19,7 @@
#include <errno.h>
#include <sys/ioctl.h>
#include <sys/mman.h>
-#include "videodev2.h"
+#include <linux/videodev2.h>
#include "src.h"
#include "log.h"
Index: fswebcam-20101118/videodev_mjpeg.h
===================================================================
--- fswebcam-20101118.orig/videodev_mjpeg.h 2011-06-25 18:12:20.598649300 +0200
+++ fswebcam-20101118/videodev_mjpeg.h 2011-06-25 18:14:12.447203924 +0200
@@ -103,6 +103,11 @@
/*
Private IOCTL to set up for displaying MJPEG
*/
+
+#ifndef BASE_VIDIOCPRIVATE
+#define BASE_VIDIOCPRIVATE 192
+#endif
+
#define MJPIOC_G_PARAMS _IOR ('v', BASE_VIDIOCPRIVATE+0, struct mjpeg_params)
#define MJPIOC_S_PARAMS _IOWR('v', BASE_VIDIOCPRIVATE+1, struct mjpeg_params)
#define MJPIOC_REQBUFS _IOWR('v', BASE_VIDIOCPRIVATE+2, struct mjpeg_requestbuffers)

View File

@@ -0,0 +1 @@
01-Use-kernel-headers.patch

View File

@@ -0,0 +1,7 @@
#!/usr/bin/make -f
override_dh_auto_configure:
dh_auto_configure -- --prefix=/usr --disable-v4l1 --enable-32bit-buffer
%:
dh $@

View File

@@ -0,0 +1 @@
3.0 (quilt)

View File

@@ -0,0 +1,12 @@
guvcview for Debian
-------------------
- Check Linux kernel version
-- 2.6.26
-- UVC module in 2.6.26 debian package
- Check UVC cam
-- Quickcam netbook
-- Macbook iSight (1st)
-- Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Sun, 14 Sep 2008 22:18:16 +0900

View File

@@ -0,0 +1,7 @@
README.source
Remove symlink of m4/intltool.m4 and copy /usr/share/aclocal/intltool.m4
to m4/intltool.m4.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Fri, 24 Oct 2014 00:43:19 +0900

View File

@@ -0,0 +1,221 @@
guvcview (2.0.2+debian-3) unstable; urgency=medium
* Fix build with ffmpeg 2.9. (Closes: #803823)
Thanks to Andreas Cadhalpun.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sun, 17 Jan 2016 07:42:31 +0900
guvcview (2.0.2+debian-2) unstable; urgency=medium
* Update build dependencies for GSL 2, change libgsl0-dev to libgsl-dev.
(Closes: #807205)
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 08 Dec 2015 23:28:33 +0900
guvcview (2.0.2+debian-1) unstable; urgency=medium
* New upstream release.
* Add patches/update-manpage. (Closes: #779839)
* Bump soname in control file and override file.
* Update debian/rules.
- Add GVIEWENCODER_CFLAGS="-D_FILE_OFFSET_BITS=64" to configure.
(Closes: #778834)
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sun, 16 Aug 2015 06:25:17 +0900
guvcview (2.0.1+debian-1) unstable; urgency=medium
* New upstream release. (Closes: #761388, #761230)
* Update patches/remove_cppflags.patch.
* Update debian/README.source.
* Update debian/control.
- Update Standards-Version to 3.9.6.
- Update sdl library from libsdl1.2-dev to libsdl2-dev.
- Add libgsl0-dev to Build-Depends..
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 23 Oct 2014 23:25:55 +0900
guvcview (2.0.0-1) UNRELEASED; urgency=medium
* New upstream release.
* Add patches/remove_cppflags.patch.
* Add intltool.m4.patch.
Fix 'guvcview source: source-contains-unsafe-symlink m4/intltool.m4'.
* Remove patches/0001-fix-build-with-libav10.patch.
* Remove patches/0001-Fix-Segmentation-fault-in-get_ctrl_by_id.patch.
* Add libguvcview-1.0-1 and libguvcview-dev package.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 17 Sep 2014 07:42:07 +0900
guvcview (1.7.3-2) unstable; urgency=medium
* Add patches/0001-Fix-Segmentation-fault-in-get_ctrl_by_id.patch.
Fix segmentation fault on startup. (Closes: #760187)
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sun, 07 Sep 2014 02:06:49 +0900
guvcview (1.7.3-1.1) unstable; urgency=medium
* Non-maintainer upload.
* debian/patches/0001-fix-build-with-libav10.patch: Update patch to build
against libav 10. Thanks to Moritz Muehlenhoff. (Closes: #739323)
-- Sebastian Ramacher <sramacher@debian.org> Fri, 16 May 2014 00:09:00 +0200
guvcview (1.7.3-1) unstable; urgency=low
* New upstream release. (Closes: #739049)
* Update debian/control.
- Update Standards-Version to 3.9.5.
- Add libusb-1.0-0-dev to Build-Depends.
* Fix build with libav10. (Closes: #739323)
Add patches/0001-fix-build-with-libav10.patch.
Thanks to Moritz Muehlenhoff and anton@khirnov.net.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 25 Mar 2014 07:56:34 +0900
guvcview (1.7.1-1) unstable; urgency=low
* New upstream release. (Closes: #712397)
* Update debian/control.
- Update Vcs-Git and Vcs-Browser field
* Remove patches/fix_typo. This was applied to upstream.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 18 Sep 2013 12:59:47 +0900
guvcview (1.7.0-1) unstable; urgency=low
* New upstream release. (Closes: #677123, #686649, #687440, #704295)
* Update debian/control.
- Bumped standards-version to 3.9.4.
* Change source format to 3.0 (quilt).
* Fix typo in manpage.
Add debian/patches/fix_typo.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 27 May 2013 14:32:02 +0900
guvcview (1.6.0-1~exp1) experimental; urgency=low
* New upstream release.
* Update debian/control.
- Update to debhelper 9.
- Bumped standards-version to 3.9.3.
- Add Vcs-Git field and Vcs-Browser field.
- Add intltool to Build-Depends.
* Update debian/compat.
Bumped to 9.
* Update debian/copyight.
Update to copyright-format 1.0.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sat, 04 Aug 2012 06:25:47 +0900
guvcview (1.5.3-1) unstable; urgency=low
* New upstream release (Closes: #644733).
* Update debian/control.
- Update Build-depends from libpng12-dev to libpng-dev only.
(Closes: #662368)
- Update Homepage field. (Closes: #662297)
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 05 Mar 2012 12:05:09 +0900
guvcview (1.5.0-1) unstable; urgency=low
* New upstream release. (Closes: #638323)
* Update debian/control.
- Update Architecture from any to linux-any.
- Add libpng-dev to Build-Depends. This needs to libpng transition.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 22 Aug 2011 12:28:10 +0900
guvcview (1.4.5-1) unstable; urgency=low
* New upstream release.
* Update debian/control.
- Bumped standards-version to 3.9.2.
No changes needed.
- Add libudev-dev to Build-Depends.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 14 Jul 2011 13:34:16 +0900
guvcview (1.4.1-1) unstable; urgency=low
* New upstream release.
* Update debian/control.
- Bumped standards-version to 3.9.0.
No changes needed.
- Remove quilt from Build-depends.
- Add uvcdynctrl to Recommends.
* Remove debian/patches.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Thu, 08 Jul 2010 09:43:27 +0900
guvcview (1.3.1-1) unstable; urgency=low
* New upstream release
* Update debian/control.
- Add quilt (>= 0.46-7~).
* Add debian/source/format.
Set source format to "1.0".
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Tue, 20 Apr 2010 05:52:30 +0900
guvcview (1.3.0-1) unstable; urgency=low
* New upstream release.
* Update debian/control.
- Bumped standards-version to 3.8.4. No changes needed.
- Add libv4l-dev to Build-Depends.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Mon, 08 Mar 2010 00:41:09 +0900
guvcview (1.2.1-1) unstable; urgency=low
* New upstream release (Closes: #564301).
* Change from cdbs to debhelper.
* Change patch control tool from dpatch to quilt.
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Sun, 10 Jan 2010 08:50:22 +0900
guvcview (1.1.3-1) unstable; urgency=low
* New upstream release.
* Change e-mail address.
* Remove DM-Upload-Allowed field.
* Update Standards-Version.
* Add README.source file.
* Update 01_update_man.dpatch
-- Nobuhiro Iwamatsu <iwamatsu@debian.org> Wed, 09 Sep 2009 19:43:43 +0900
guvcview (1.1.1-1) unstable; urgency=low
* New upstream release.
* Update Standards-Version. (Closes: #535303)
* Add "DM-Upload-Allowed: yes" to debian/control.
* Add 01_update_man.dpatch
* Remove some patch, because applied in upstream.
01_null_check_and_file_clean.dpatch
02_uyvy_draw_size.dpatch
-- Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Fri, 24 Jul 2009 19:18:02 +0900
guvcview (1.1.0-1) unstable; urgency=low
* New upstream release. (Closes: #518061)
* Add libtwolame-dev to Build-Depends.
* Remove UYVY dpatch.
* Add new patch of NULL check.
01_null_check_and_file_clean.dpatch
* Add new patch of fix draw size.
02_uyvy_draw_size.dpatch
-- Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Tue, 31 Mar 2009 23:18:15 +0900
guvcview (0.9.3-1) unstable; urgency=low
* Initial release (Closes: #493533)
* Add support UYVY color
-- Nobuhiro Iwamatsu <iwamatsu@nigauri.org> Sun, 14 Sep 2008 01:09:51 +0900

View File

@@ -0,0 +1 @@
9

View File

@@ -0,0 +1,42 @@
Source: guvcview
Section: graphics
Priority: extra
Maintainer: Nobuhiro Iwamatsu <iwamatsu@debian.org>
Build-Depends: debhelper (>= 9), intltool, autotools-dev, libsdl1.2-dev,
libgtk-3-dev, portaudio19-dev, libpng12-dev, libavcodec-dev,
libavutil-dev, libudev-dev, libusb-1.0-0-dev, libpulse-dev,
libgsl0-dev, libv4l-dev, libv4l2rds0, libsdl2-dev
Standards-Version: 3.9.6
Homepage: http://guvcview.sourceforge.net/
Package: guvcview
Architecture: linux-any
Depends: ${shlibs:Depends}, ${misc:Depends}
Recommends: uvcdynctrl
Description: GTK+ base UVC Viewer
guvcview is a simple GTK+ interface for capturing and viewing video from
devices supported by the Linux UVC driver.
Package: libguvcview-1.1-1
Section: libs
Architecture: linux-any
Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}
Multi-Arch: same
Description: GTK+ base UVC Viewer - runtime
guvcview is a simple GTK+ interface for capturing and viewing video from
devices supported by the Linux UVC driver.
.
This package includes the shared library.
Package: libguvcview-dev
Section: libdevel
Architecture: linux-any
Multi-Arch: same
Depends: ${shlibs:Depends}, libguvcview-1.1-1 (= ${binary:Version})
Recommends: uvcdynctrl
Description: GTK+ base UVC Viewer - development files
guvcview is a simple GTK+ interface for capturing and viewing video from
devices supported by the Linux UVC driver.
.
This package contains files that are needed to build applications.

View File

@@ -0,0 +1,69 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: guvcview
Source: http://guvcview.sourceforge.net/
Files: src/matroska.c src/matroska.h
Copyright: Copyright (C) 2005 Mike Matsnev
Copyright (C) Paulo Assis <pj.assis@gmail.com>
License: GPL-2+
Files: src/avilib.c src/avilib.h
Copyright: Copyright (C) 1999 Rainer Johanni <Rainer@Johanni.de>
Copyright (C) Paulo Assis <pj.assis@gmail.com>
License: GPL-2+
Files: src/video_filters.c src/video_filters.h
Copyright: Copyright (C) 2001-2006 FUKUCHI Kentaro
Copyright (C) Paulo Assis <pj.assis@gmail.com>
License: GPL-2+
Files: *
Copyright: Copyright (C) Paulo Assis <pj.assis@gmail.com>
License: GPL-3
Files: debian/*
Copyright: Copyright (C) 2008-2012 Nobuhiro Iwamatsu <iwamatsu@debian.org>
License: GPL-2+
License: GPL-2+
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 2 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 package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
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.
.
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 package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
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'.

View File

@@ -0,0 +1 @@
usr/bin

View File

@@ -0,0 +1,2 @@
usr/bin/guvcview
usr/share/*

View File

@@ -0,0 +1 @@
debian/tmp/usr/lib/*/lib*.so.*

View File

@@ -0,0 +1,4 @@
debian/tmp/usr/include/*
debian/tmp/usr/lib/*/*.a
debian/tmp/usr/lib/*/*.so
debian/tmp/usr/lib/*/pkgconfig/*

View File

@@ -0,0 +1,6 @@
?package(guvcview):\
needs="X11"\
section="Applications/Video"\
title="guvcview"\
longtitle="GTK UVC Viewer - uvc video viewer and capturer"\
command="/usr/bin/guvcview"

View File

@@ -0,0 +1,37 @@
Description: Replace deprecated FFmpeg API
Author: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Last-Update: <2015-11-02>
--- a/gview_encoder/encoder.c
+++ b/gview_encoder/encoder.c
@@ -1434,7 +1434,7 @@
/*convert default yuyv to y420p (libav input format)*/
switch(video_codec_data->codec_context->pix_fmt)
{
- case PIX_FMT_YUVJ420P:
+ case AV_PIX_FMT_YUVJ420P:
yuv422to420p(encoder_ctx, input_frame);
break;
default:
--- a/gview_v4l2core/jpeg_decoder.c
+++ b/gview_v4l2core/jpeg_decoder.c
@@ -1436,7 +1436,7 @@
exit(-1);
}
- codec_data->context->pix_fmt = PIX_FMT_YUV422P;
+ codec_data->context->pix_fmt = AV_PIX_FMT_YUV422P;
codec_data->context->width = width;
codec_data->context->height = height;
//jpeg_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE);
--- a/gview_v4l2core/uvc_h264.c
+++ b/gview_v4l2core/uvc_h264.c
@@ -970,7 +970,7 @@
}
h264_ctx->context->flags2 |= CODEC_FLAG2_FAST;
- h264_ctx->context->pix_fmt = PIX_FMT_YUV420P;
+ h264_ctx->context->pix_fmt = AV_PIX_FMT_YUV420P;
h264_ctx->context->width = width;
h264_ctx->context->height = height;
//h264_ctx->context->dsp_mask = (FF_MM_MMX | FF_MM_MMXEXT | FF_MM_SSE);

View File

@@ -0,0 +1,2 @@
update-manpage
ffmpeg_2.9.patch

View File

@@ -0,0 +1,69 @@
diff --git a/data/guvcview.1 b/data/guvcview.1
index 8d16712..5340845 100644
--- a/data/guvcview.1
+++ b/data/guvcview.1
@@ -1,4 +1,4 @@
-.TH GUVCVIEW "1" "Aug 2009"
+.TH GUVCVIEW "1" "Aug 2015"
.SH NAME
guvcview \- GTK+ base UVC Viewer
.SH SYNOPSIS
@@ -14,36 +14,28 @@ this API, including the gspca driver.
guvcview [options...]
.SH OPTION
- \-?, \-\-help Print help options
- \-\-help\-all Print all help options
- \-\-help\-gtk Print GTK+ options
- \-\-version Print version number
-
-Application options:
- \-v, \-\-verbose Prints a lot of debug information
- \-d, \-\-device=VIDEO_DEVICE Video Device [default: /dev/video0]
- \-a, \-\-add_ctrls Exits after adding dynamic controls to the uvc driver (needs root/sudo)
- \-o, \-\-control_only Don't stream video (image controls only)
- \-r, \-\-capture_method=[1|2] Capture method (1-mmap (default) 2-read)
- \-g, \-\-config=FILENAME Configuration File
- \-w, \-\-hwd_acel=[1|0] Hardware accelaration:
- (enable(1) | disable(0))
- \-f, \-\-format=FORMAT Video input format:
- mjpg | jpeg | yuyv | yvyu | uyvy | yyuv | yu12 | yv12 | nv12 |
- nv21 | nv16 | nv61 | y11p | grey | s501 | s505 | s508 | gbrg |
- grbg | ba81 | rggb | bgr3 | rgb3 |
- \-s, \-\-size=WIDTHxHEIGHT Resolution, default: 640x480
- \-i, \-\-image=FILENAME Image File
- \-c, \-\-cap_time=TIME Time elapsed between image captures
- \-m, \-\-npics=NUMPIC Number of images to capture
- \-n, \-\-video=FILENAME Video File (capture from start)
- \-t, \-\-vid_time=TIME Video duration (in seconds)
- \-\-exit_on_close Exits guvcview after closing video
- \-j, \-\-skip=N_FRAMES Number of inital frames to skip
- \-p, \-\-show_fps=[1|0] Print FPS on video Window:
- (enable(1) | disable(0))
- \-l, \-\-profile=FILENAME Load profile
-
+ \-h, \-\-help Print help
+ \-v, \-\-version Print version
+ \-w, \-\-verbosity=LEVEL Set Verbosity level (def: 0)
+ \-d, \-\-device=DEVICE Set device name (def: /dev/video0)
+ \-c, \-\-capture=METHOD Set capture method [read | mmap (def)]
+ \-b, \-\-disable_libv4l2 disable calls to libv4l2
+ \-x, \-\-resolution=WIDTHxHEIGHT Request resolution (e.g 640x480)
+ \-f, \-\-format=FOURCC Request format (e.g MJPG)
+ \-r, \-\-render=RENDER_API Select render API (e.g none; sdl)
+ \-m, \-\-render_window=RENDER_WINDOW_FLAGS Set render window flags (e.g none; full; max)
+ \-a, \-\-audio=AUDIO_API Select audio API (e.g none; port; pulse)
+ \-k, \-\-audio_device=AUDIO_DEVICE Select audio device index for selected api (0..N)
+ \-g, \-\-gui=GUI_API Select GUI API (e.g none; gtk3)
+ \-o, \-\-audio_codec=CODEC Audio codec [pcm mp2 mp3 aac ac3 vorb]
+ \-u, \-\-video_codec=CODEC Video codec [raw mjpg mpeg flv1 wmv1 mpg2 mp43 dx50 h264 vp80 theo]
+ \-p, \-\-profile=FILENAME load control profile
+ \-j, \-\-video=FILENAME filename for captured video)
+ \-i, \-\-image=FILENAME filename for captured image)
+ \-y, \-\-video_timer=TIME_IN_SEC time (double) in sec. for video capture)
+ \-t, \-\-photo_timer=TIME_IN_SEC time (double) in sec. between captured photos)
+ \-n, \-\-photo_total=TOTAL total number of captured photos)
+ \-z, \-\-control_panel Start in control panel mode
.SH AUTHOR
This manual page was written by Paulo Assis <pj.assis@gmail.com>,

View File

@@ -0,0 +1,20 @@
#!/usr/bin/make -f
%:
dh $@ --with autoreconf
override_dh_auto_configure:
dh_auto_configure -- \
--disable-silent-rules \
--enable-yuyv \
--disable-sdl2 \
--prefix=/usr \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
GVIEWENCODER_CFLAGS="-D_FILE_OFFSET_BITS=64"
override_dh_install:
rm -rf debian/tmp/usr/share/doc/guvcview/NEWS \
debian/tmp/usr/share/doc/guvcview/COPYING \
debian/tmp/usr/share/doc/guvcview/INSTALL \
debian/tmp/usr/share/doc/guvcview/ChangeLog
dh_install

View File

@@ -0,0 +1 @@
3.0 (quilt)

View File

@@ -0,0 +1,20 @@
wpasupplicant (0.6.2-1) unstable; urgency=low
The -w (wait for network interface to exist) command line option no longer
exists. If you have scripts that require this option, it is time to change
them, or use one of the two supported modes of operation explained at
/usr/share/doc/wpasupplicant/README.modes.gz.
ifupdown supports hot-plugged network devices via the "allow-hotplug" class
of operation. An example /etc/network/interfaces configuration stanza would
look like:
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid myssid
wpa-psk mysecretpassphrase
network-manager is also able to handle hot-plugged network devices.
-- Kel Modderman <kel@otaku42.de> Mon, 14 Jan 2008 18:02:17 +1000

View File

@@ -0,0 +1,128 @@
"wpa" sources for Debian
------------------------
This "wpa" source package merges wpa_supplicant and hostapd sources, which are
maintained in one source repository[1] upstream and share considerable/
duplicate amounts of source. Starting with the 1.x branch, both wpa_supplicant
and hostapd are built from this common source package for Debian, while not
released together as tarball by upstream, the source can be obtained from the
upstream git repositories.
The preferred way to generate the orig.tar.gz is by calling
$ debian/rules get-orig-source
which will clone the upstream git repository under $TMPDIR, using mktemp(1),
and create a new tarball based on the git tag corresponding to the top most
entry in debian/changelog. This newly generated tarball will be stored as
../wpa_${VERSION}.orig.tar.gz or ../tarballs/wpa_${VERSION}.orig.tar.gz, if
a directory called ../tarballs/ exists. Eventually existing tarballs
corresponding to the current version will not be overwritten.
Required dependencies to generate a new orig.tar.gz:
- a SUSv3 compatible shell, like dash or bash
- dpkg-parsechangelog, available from dpkg-dev
- git
- xz, available from xz-utils or busybox
- mktemp and rm, available from coreutils or busybox
- sed, available from sed or busybox
- tar, available from tar or busybox
It is recommended to base tarballs for development snapshots of "wpa" on
according git tags from the upstream git repository, the available git tags
can be queried by:
$ git clone git://w1.fi/srv/git/hostap-1.git # 1.x branch
or
$ git clone git://w1.fi/srv/git/hostap.git # >= 2.x branches
changing into the corresponding directory (hostap-1 or hostapd) and calling
git tag.
$ cd hostapd-1
$ git tag
hostap_0_6_3
[…]
hostap_1_0
[…]
hostap_1_0_rc3
[…]
The Debian versions for these tags would be 0.6.3-1, 1.0 or 1.0~rc3 in
debian/changelog. Intermediate states between tags or HEAD are usually best
dealt with by creating a patch series based on the newest matching tag.
Exporting commits between "hostap_1_0" and the current git HEAD:
$ git format-patch hostap_1_0..HEAD
Exporting commits between "hostap_1_0_rc3" and "hostap_1_0":
$ git format-patch hostap_1_0_rc3..hostap_1_0
In both cases numbered patches will be dropped in the base directory of the
git clone. These numbered patches can be imported to the Debian package using
standard procedures for "3.0 (quilt)" source packages.
Tarballs can also be created manually from the upstream git repository:
$ git clone git://w1.fi/srv/git/hostap-1.git
$ cd hostap-1
$ git archive \
--format=tar \
--prefix="wpa-1.0/" \
hostap_1_0 \
README COPYING patches src wpa_supplicant hostapd | \
xz -c6 > wpa_1.0.orig.tar.gz
Arbitrary git tags or commit IDs can be used for this purpose.
Upstream git snapshots can be exported by using a specially crafted version
syntax used in the top most (pending) changelog entry. The required syntax for
correctly parsing this is:
<upstream_version>+git<date>.<revision>+<git_hash>-<debian_revision>
upstream_version := [0-9\.]* --> 2.0
date := [0-9]* --> 20131120 (YYYYMMDD)
revision := [0-9]* --> 1
git_hash := [0-9a-f]* --> 594516b
debian_revision := [0-9*] --> 1
e.g.:
2.0+git20131120.1+594516b-1
Technically any incrementing number can be used for <date>, but it's strongly
recommended to use YYYYMMDD (date --utc +%Y%m%d) and follow it by an
strictly incrementing arbitrary revision number (typically '.1'). The supplied
git hash can be abbreviated, but must be unique (see git describe, without
leading 'g').
The debian/rules get-orig-source target will automatically switch between
hostapd-1.git and hostapd.git (for >= 2.0) as needed, but it will only fetch
the explicitly specified version from a properly formatted, top most,
debian/changelog entry; it will not fetch the last upstream release or git
HEAD automatically.
The Debian packaging for wpa_supplicant/ hostapd is maintained in a subversion
repository at:
Vcs-Svn: svn://anonscm.debian.org/svn/pkg-wpa/wpa/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-wpa/wpa/trunk/
The development mailing list and its mailing list archive is located at:
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-wpa-devel
Work for the wpa package can be coordinated on this mailing list through:
Debian wpasupplicant Maintainers <pkg-wpa-devel@lists.alioth.debian.org>
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Sat, 28 Dec 2013 22:37:03 +0100
[1] http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap-1.git [1.x branch]
http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git [development]

View File

@@ -0,0 +1,39 @@
wpa (2.4-0ubuntu6) xenial; urgency=medium
* debian/patches/wpasupplicant_band_selection_aa517ae2.patch: add the last
missing 5 GHz band selection related cherry-pick from Debian that was not
included in wpa 2.4 (LP: #1517040)
-- Timo Jyrinki <timo-jyrinki@ubuntu.com> Tue, 19 Jan 2016 12:36:00 +0200
wpa (2.4-0ubuntu5) xenial; urgency=medium
* SECURITY UPDATE: unauthorized WNM Sleep Mode GTK control
- debian/patches/CVE-2015-5310.patch: Ignore Key Data in WNM Sleep Mode
Response frame if no PMF in use in wpa_supplicant/wnm_sta.c.
- CVE-2015-5310
* SECURITY UPDATE: EAP-pwd missing last fragment length validation
- debian/patches/CVE-2015-5315-1.patch: Fix last fragment length
validation in src/eap_peer/eap_pwd.c.
- debian/patches/CVE-2015-5315-2.patch: Fix last fragment length
validation in src/eap_server/eap_server_pwd.c.
- CVE-2015-5315
* SECURITY UPDATE: EAP-pwd peer error path failure on unexpected Confirm
message
- debian/patches/CVE-2015-5316.patch: fix error path in
src/eap_peer/eap_pwd.c.
- CVE-2015-5316
* SECURITY UPDATE: denial of service in NDEF record parser
- debian/patches/CVE-2015-8041.patch: validate payload lengths in
src/wps/ndef.c.
- CVE-2015-8041
-- Marc Deslauriers <marc.deslauriers@ubuntu.com> Tue, 10 Nov 2015 13:38:25 -0500
wpa (2.4-0ubuntu4) xenial; urgency=medium
* Add debian/system-sleep/wpasupplicant: Call wpa_cli suspend/resume
before/after suspend, like the pm-utils hook. In some cases this brings
back missing Wifi connection after resuming. (LP: #1422143)
-- Martin Pitt <martin.pitt@ubuntu.com> Mon, 26 Oct 2015 14:24:30 +0100

View File

@@ -0,0 +1,54 @@
hostapd (1:0.7.3-5) UNRELEASED; urgency=low
* NOT RELEASED YET
* bump standards version to 3.9.3, no changes necessary.
* update dep-5 version to final 1.0:
- add format qualifier
- s/Upstream-Maintainer/Upstream-Contact/
- s/Upstream-Source/Source/
- use "or" instead of "BSD | GPL-2" for dual-licensed sources
- order licenses alphabetically.
- fix lists of copyright holders for the final syntax
- fix license continuation.
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Mon, 27 Feb 2012 22:07:19 +0100
hostapd (1:0.7.3-4) unstable; urgency=low
* add myself to uploaders.
* add "hostap: Allow linking with libnl-3" from Ben Greear
<greearb@candelatech.com> to allow building against libnl3 3.2.
* switch build dependency from libnl-dev (libnl1) to libnl-3-dev &&
libnl-genl-3-dev accordingly.
* add libpcap-dev and libbsd-dev to kFreeBSD specific build-depends.
* disable IAPP on kFreeBSD, to avoid FTBS.
* restrict hostapd to linux-any and kfreebsd-any, hurd lacks kernel support.
* raise versioned build-dependency to (>= 3.2.3-2~), we need
libnl-genl-3-200-udeb and expect it in /lib/.
* add "For MS-CHAP, convert the password from UTF-8 to UCS-2" from
Evan Broder <ebroder@mokafive.com>, accepted upstream into hostap-1.git
* fix long description, driver_madwifi is no longer enabled, while driver_bsd
got enabled.
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Tue, 20 Dec 2011 02:51:49 +0100
hostapd (1:0.7.3-3) unstable; urgency=low
[ Kel Modderman ]
* Use /run/sendsigs.omit.d/ for sendsigs omission pid file and depend on
initscripts (>= 2.88dsf-13.3). (Closes: #633026)
* Migrate existing sendsigs omission pid files from /lib/init/rw to /run.
* Add a loop to ifupdown.sh to wait for creation of hostapd pid file before
attempting creation of sensigs omission pid file, in some cases hostapd
daemon can return before creation of the pid file has been written to disk.
* Adjust standards version to 3.9.2, no further changes required to
satisfy that.
* Only test that DAEMON_CONF is set in init.d script, do not test if what is
set is readable (which assumes only one configuration file is being used).
(Closes: #615821)
[ Stefan Lippers-Hollmann ]
* use new anonscm URIs for alioth.
-- Kel Modderman <kel@otaku42.de> Sun, 11 Dec 2011 20:32:06 +1000

View File

@@ -0,0 +1 @@
9

View File

@@ -0,0 +1,209 @@
# Example hostapd build time configuration
#
# This file lists the configuration options that are used when building the
# hostapd binary. All lines starting with # are ignored. Configuration option
# lines must be commented out complete, if they are not to be included, i.e.,
# just setting VARIABLE=n is not disabling that variable.
#
# This file is included in Makefile, so variables like CFLAGS and LIBS can also
# be modified from here. In most cass, these lines should use += in order not
# to override previous values of the variables.
# Driver interface for Host AP driver
#CONFIG_DRIVER_HOSTAP=y
CONFIG_DRIVER_RTW=y
# Driver interface for wired authenticator
#CONFIG_DRIVER_WIRED=y
# Driver interface for madwifi driver
#CONFIG_DRIVER_MADWIFI=y
#CFLAGS += -I../../madwifi # change to the madwifi source directory
# Driver interface for drivers using the nl80211 kernel interface
#CONFIG_DRIVER_NL80211=y
# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
#CONFIG_DRIVER_BSD=y
#CONFIG_SUPPORT_RTW_DRIVER=y
#CFLAGS += -I/usr/local/include
#LIBS += -L/usr/local/lib
#LIBS_p += -L/usr/local/lib
#LIBS_c += -L/usr/local/lib
# Driver interface for no driver (e.g., RADIUS server only)
#CONFIG_DRIVER_NONE=y
# IEEE 802.11F/IAPP
#CONFIG_IAPP=y
# WPA2/IEEE 802.11i RSN pre-authentication
#CONFIG_RSN_PREAUTH=y
# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
#CONFIG_PEERKEY=y
# IEEE 802.11w (management frame protection)
# This version is an experimental implementation based on IEEE 802.11w/D1.0
# draft and is subject to change since the standard has not yet been finalized.
# Driver support is also needed for IEEE 802.11w.
#CONFIG_IEEE80211W=y
# Integrated EAP server
CONFIG_EAP=y
# EAP-MD5 for the integrated EAP server
#CONFIG_EAP_MD5=y
# EAP-TLS for the integrated EAP server
#CONFIG_EAP_TLS=y
# EAP-MSCHAPv2 for the integrated EAP server
#CONFIG_EAP_MSCHAPV2=y
# EAP-PEAP for the integrated EAP server
#CONFIG_EAP_PEAP=y
# EAP-GTC for the integrated EAP server
#CONFIG_EAP_GTC=y
# EAP-TTLS for the integrated EAP server
#CONFIG_EAP_TTLS=y
# EAP-SIM for the integrated EAP server
#CONFIG_EAP_SIM=y
# EAP-AKA for the integrated EAP server
#CONFIG_EAP_AKA=y
# EAP-AKA' for the integrated EAP server
# This requires CONFIG_EAP_AKA to be enabled, too.
#CONFIG_EAP_AKA_PRIME=y
# EAP-PAX for the integrated EAP server
#CONFIG_EAP_PAX=y
# EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK)
#CONFIG_EAP_PSK=y
# EAP-SAKE for the integrated EAP server
#CONFIG_EAP_SAKE=y
# EAP-GPSK for the integrated EAP server
#CONFIG_EAP_GPSK=y
# Include support for optional SHA256 cipher suite in EAP-GPSK
#CONFIG_EAP_GPSK_SHA256=y
# EAP-FAST for the integrated EAP server
# Note: Default OpenSSL package does not include support for all the
# functionality needed for EAP-FAST. If EAP-FAST is enabled with OpenSSL,
# the OpenSSL library must be patched (openssl-0.9.9-session-ticket.patch)
# to add the needed functions.
#CONFIG_EAP_FAST=y
# Wi-Fi Protected Setup (WPS)
CONFIG_WPS=y
# Enable WSC 2.0 support
#CONFIG_WPS2=y
# Enable UPnP support for external WPS Registrars
#CONFIG_WPS_UPNP=y
CONFIG_TLS=internal
CONFIG_INTERNAL_LIBTOMMATH=y
# EAP-IKEv2
#CONFIG_EAP_IKEV2=y
# Trusted Network Connect (EAP-TNC)
#CONFIG_EAP_TNC=y
# PKCS#12 (PFX) support (used to read private key and certificate file from
# a file that usually has extension .p12 or .pfx)
#CONFIG_PKCS12=y
# RADIUS authentication server. This provides access to the integrated EAP
# server from external hosts using RADIUS.
#CONFIG_RADIUS_SERVER=y
# Build IPv6 support for RADIUS operations
#CONFIG_IPV6=y
# IEEE Std 802.11r-2008 (Fast BSS Transition)
#CONFIG_IEEE80211R=y
# Use the hostapd's IEEE 802.11 authentication (ACL), but without
# the IEEE 802.11 Management capability (e.g., madwifi or FreeBSD/net80211)
#CONFIG_DRIVER_RADIUS_ACL=y
# IEEE 802.11n (High Throughput) support
CONFIG_IEEE80211N=y
# Remove debugging code that is printing out debug messages to stdout.
# This can be used to reduce the size of the hostapd considerably if debugging
# code is not needed.
#CONFIG_NO_STDOUT_DEBUG=y
# Add support for writing debug log to a file: -f /tmp/hostapd.log
# Disabled by default.
#CONFIG_DEBUG_FILE=y
# Remove support for RADIUS accounting
#CONFIG_NO_ACCOUNTING=y
# Remove support for RADIUS
#CONFIG_NO_RADIUS=y
# Remove support for VLANs
#CONFIG_NO_VLAN=y
# Enable support for fully dynamic VLANs. This enables hostapd to
# automatically create bridge and VLAN interfaces if necessary.
#CONFIG_FULL_DYNAMIC_VLAN=y
# Remove support for dumping state into a file on SIGUSR1 signal
# This can be used to reduce binary size at the cost of disabling a debugging
# option.
#CONFIG_NO_DUMP_STATE=y
# Enable tracing code for developer debugging
# This tracks use of memory allocations and other registrations and reports
# incorrect use with a backtrace of call (or allocation) location.
#CONFIG_WPA_TRACE=y
# For BSD, comment out these.
#LIBS += -lexecinfo
#LIBS_p += -lexecinfo
#LIBS_c += -lexecinfo
# Use libbfd to get more details for developer debugging
# This enables use of libbfd to get more detailed symbols for the backtraces
# generated by CONFIG_WPA_TRACE=y.
#CONFIG_WPA_TRACE_BFD=y
# For BSD, comment out these.
#LIBS += -lbfd -liberty -lz
#LIBS_p += -lbfd -liberty -lz
#LIBS_c += -lbfd -liberty -lz
# hostapd depends on strong random number generation being available from the
# operating system. os_get_random() function is used to fetch random data when
# needed, e.g., for key generation. On Linux and BSD systems, this works by
# reading /dev/urandom. It should be noted that the OS entropy pool needs to be
# properly initialized before hostapd is started. This is important especially
# on embedded devices that do not have a hardware random number generator and
# may by default start up with minimal entropy available for random number
# generation.
#
# As a safety net, hostapd is by default trying to internally collect
# additional entropy for generating random data to mix in with the data
# fetched from the OS. This by itself is not considered to be very strong, but
# it may help in cases where the system pool is not initialized properly.
# However, it is very strongly recommended that the system pool is initialized
# with enough entropy either by using hardware assisted random number
# generatior or by storing state over device reboots.
#
# If the os_get_random() is known to provide strong ramdom data (e.g., on
# Linux/BSD, the board in question is known to have reliable source of random
# data from /dev/urandom), the internal hostapd random pool can be disabled.
# This will save some in binary size and CPU use. However, this should only be
# considered for builds that are known to be used on devices that meet the
# requirements described above.
#CONFIG_NO_RANDOM_POOL=y

View File

@@ -0,0 +1,48 @@
#
# orangepi hostapd configuration example
#
# realtek mode
#
ssid=OrangePi
interface=wlan0
hw_mode=g
channel=5
bridge=br0
driver=rtl871xdrv
logger_syslog=0
logger_syslog_level=0
wmm_enabled=1
wpa=2
preamble=1
wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0
### IEEE 802.11n
#ieee80211n=1
#ht_capab=
#country_code=US
#ieee80211d=1
### IEEE 802.11n
### IEEE 802.11a
#hw_mode=a
### IEEE 802.11a
### IEEE 802.11ac
#ieee80211ac=1
#vht_capab=[MAX-MPDU-11454][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][MAX-A-MPDU-LEN-EXP3]
#vht_oper_chwidth=1
#vht_oper_centr_freq_seg0_idx=42
### IEEE 802.11ac
# controlling enabled
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0

View File

@@ -0,0 +1,55 @@
Source: wpa
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
XSBC-Original-Maintainer: Debian wpasupplicant Maintainers <pkg-wpa-devel@lists.alioth.debian.org>
Uploaders: Stefan Lippers-Hollmann <s.l-h@gmx.de>,
Jan Dittberner <jandd@debian.org>
Section: net
Priority: optional
Build-Depends: debhelper (>> 9.20120115),
libdbus-1-dev,
libssl-dev | libssl1.0-dev,
libncurses5-dev,
libpcsclite-dev,
libnl-3-dev [linux-any],
libnl-genl-3-dev [linux-any],
libnl-route-3-dev [linux-any],
libpcap-dev [kfreebsd-any],
libbsd-dev [kfreebsd-any],
libreadline-dev,
pkg-config,
docbook-to-man,
docbook-utils,
Standards-Version: 3.9.6
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-wpa/wpa/trunk/
Vcs-Svn: svn://anonscm.debian.org/pkg-wpa/wpa/trunk/
Homepage: http://w1.fi/wpa_supplicant/
Package: hostapd-realtek
Architecture: linux-any kfreebsd-any
Multi-Arch: foreign
Depends: ${shlibs:Depends},
${misc:Depends},
lsb-base
Breaks: initscripts (<< 2.88dsf-13.3)
Provides: hostapd
Conflicts: hostapd, orangepi-hostapd
Replaces: hostapd, orangepi-hostapd
Description: IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
Originally, hostapd was an optional user space component for Host AP
driver. It adds more features to the basic IEEE 802.11 management
included in the kernel driver: using external RADIUS authentication
server for MAC address based access control, IEEE 802.1X Authenticator
and dynamic WEP keying, RADIUS accounting, WPA/WPA2 (IEEE 802.11i/RSN)
Authenticator and dynamic TKIP/CCMP keying.
.
The current version includes support for other drivers, an integrated
EAP authenticator (i.e., allow full authentication without requiring
an external RADIUS authentication server), and RADIUS authentication
server for EAP authentication.
.
hostapd works with the following drivers:
.
* mac80211 based drivers with support for master mode [linux]
* Host AP driver for Prism2/2.5/3 [linux]
* Driver interface for FreeBSD net80211 layer [kfreebsd]
* Any wired Ethernet driver for wired IEEE 802.1X authentication.

View File

@@ -0,0 +1,422 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: hostapd
Upstream-Contact: Jouni Malinen <j@w1.fi>
Source: git://w1.fi/srv/git/hostap.git
Files: *
Copyright: 2002-2014, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: hostapd/logwatch/*
Copyright: 2005, Henrik Brix Andersen <brix@gentoo.org>
License: BSD-3-clause or GPL-2
Files: hostapd/Android.mk
Copyright: 2008, The Android Open Source Project
License: BSD-3-clause
Files: hostapd/hostapd.8
hostapd/hostapd_cli.1
Copyright: 2005, Faidon Liambotis <faidon@cube.gr>
License: BSD-3-clause
Files: hs20/*
Copyright: 2012-2014, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: patches/*
Copyright: 2005, Alexey Kobozev <akobozev@cisco.com>
2005-2012, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/ap/acs.*
Copyright: 2011, Atheros Communications
2013, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/ap/ap_list.*
src/ap/ap_mlme.*
src/ap/beacon.*
src/ap/hw_features.*
src/ap/vlan_init.*
src/ap/wmm.*
Copyright: 2002-2009, Jouni Malinen <j@w1.fi>
2002-2004, Instant802 Networks, Inc.
2005-2006, Devicescape Software, Inc.
License: BSD-3-clause
Files: src/ap/dfs.*
Copyright: 2002-2013, Jouni Malinen <j@w1.fi>
2013, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/ap/gas_serv.*
src/ap/wnm_ap.*
src/common/ieee802_1x_defs.h
src/common/qca-vendor*
Copyright: 2011-2014, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/ap/hs20.*
wpa_supplicant/hs20_supplicant.*
Copyright: 2009, Atheros Communications, Inc.
2011-2013, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/ap/ieee802_11_ht.c
Copyright: 2002-2009, Jouni Malinen <j@w1.fi>
2007-2008, Intel Corporation
License: BSD-3-clause
Files: src/ap/p2p_hostapd.*
Copyright: 2009-2010, Atheros Communications
License: BSD-3-clause
Files: src/ap/vlan_util.*
Copyright: 2012, Michael Braun <michael-dev@fami-braun.de>
License: BSD-3-clause
Files: src/common/gas.*
Copyright: 2009, Atheros Communications
2011-2012, Qualcomm Atheros
License: BSD-3-clause
Files: src/common/ieee802_11_defs.h
Copyright: 2002-2009, Jouni Malinen <j@w1.fi>
2007-2008, Intel Corporation
License: BSD-3-clause
Files: src/common/wpa_helpers.*
Copyright: 2010-2011, Atheros Communications, Inc.
2011-2012, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/crypto/aes-internal*
Copyright: 2000, Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
2000, Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
2000, Paulo Barreto <paulo.barreto@terra.com.br>
2003-2012, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/crypto/des-internal.c
Copyright: 2005, Tom St Denis <tomstdenis@gmail.com>
2006-2009, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/crypto/md4-internal.c
Copyright: 1993, Colin Plumb
2004, Todd C. Miller
2006, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/crypto/md5-internal.c
Copyright: 1993, Colin Plumb
2003-2005, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/crypto/sha1-internal.c
Copyright: 1998, Steve Reid <sreid@sea-to-sky.net>
1998, James H. Brown <jbrown@burgoyne.com>
2001, Saul Kravitz <Saul.Kravitz@celera.com>
2001-2005, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/drivers/driver_atheros.c
Copyright: 2004, Sam Leffler <sam@errno.com>
2004, Video54 Technologies
2005-2007, Jouni Malinen <j@w1.fi>
2009, Atheros Communications
License: BSD-3-clause
Files: src/drivers/driver_bsd.c
Copyright: 2004, Sam Leffler <sam@errno.com>
2004, 2Wire, Inc
License: BSD-3-clause
Files: src/drivers/driver_macsec_qca.c
Copyright: 2004, Gunter Burchardt <tira@isx.de>
2005-2009, Jouni Malinen <j@w1.fi>
2013-2014, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/drivers/driver_madwifi.c
Copyright: 2004, Sam Leffler <sam@errno.com>
2004, Video54 Technologies
2004-2007, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/drivers/driver_nl80211.c
Copyright: 2002-2014, Jouni Malinen <j@w1.fi>
2003-2004, Instant802 Networks, Inc.
2005-2006, Devicescape Software, Inc.
2007, Johannes Berg <johannes@sipsolutions.net>
2009-2010, Atheros Communications
License: BSD-3-clause
Files: src/drivers/driver_none.c
Copyright: 2008, Atheros Communications
License: BSD-3-clause
Files: src/drivers/driver_openbsd.c
Copyright: 2013, Mark Kettenis <mark.kettenis@xs4all.nl>
License: BSD-3-clause
Files: src/drivers/driver_roboswitch.c
Copyright: 2008-2009, Jouke Witteveen
License: BSD-3-clause
Files: src/drivers/driver_wired.c
Copyright: 2005-2009, Jouni Malinen <j@w1.fi>
2004, Gunter Burchardt <tira@isx.de>
License: BSD-3-clause
Files: src/drivers/nl80211_copy.h
Copyright: 2006-2010, Johannes Berg <johannes@sipsolutions.net>
2008, Michael Wu <flamingice@sourmilk.net>
2008, Luis Carlos Cobo <luisca@cozybit.com>
2008, Michael Buesch <m@bues.ch>
2008-2009, Luis R. Rodriguez <lrodriguez@atheros.com>
2008, Jouni Malinen <jouni.malinen@atheros.com>
2008, Colin McCabe <colin@cozybit.com>
License: ISC
Files: src/eap_common/eap_pwd_common.*
src/eap_peer/eap_pwd.c
src/eap_server/eap_server_pwd.c
Copyright: 2010, Dan Harkins <dharkins@lounge.org>
License: BSD-3-clause
Files: src/eap_peer/eap_proxy*
Copyright: 2011-2013 Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/l2_packet/l2_packet_freebsd.c
Copyright: 2003-2005, Jouni Malinen <j@w1.fi>
2005, Sam Leffler <sam@errno.com>
License: BSD-3-clause
Files: src/p2p/*
Copyright: 2009-2010, Atheros Communications
License: BSD-3-clause
Files: src/pae/*
Copyright: 2013-2014, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/rsn_supp/tdls.c
Copyright: 2010-2011, Atheros Communications
License: BSD-3-clause
Files: src/tls/libtommath.c
Copyright: 2005-2007, Tom St Denis <tomstdenis@gmail.com>
License: public-domain
Files: src/utils/browser*
src/utils/http*
src/utils/xml*
Copyright: 2012-2014, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/utils/radiotap.c
Copyright: 2007, Andy Green <andy@warmcat.com>
2009, Johannes Berg <johannes@sipsolutions.net>
License: BSD-3-clause
Files: src/utils/radiotap.h
Copyright: 2003-2004, David Young
License: BSD-3-clause
Files: src/wps/http.h
src/wps/upnp_xml.*
src/wps/wps_upnp.*
src/wps/wps_upnp_event.c
src/wps/wps_upnp_i.h
src/wps/wps_upnp_ssdp.c
src/wps/wps_upnp_web.c
Copyright: 2000-2003, Intel Corporation
2006-2007, Sony Corporation
2008-2009, Atheros Communications
2009, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/wps/httpread.*
Copyright: 2008, Ted Merrill, Atheros Communications
License: BSD-3-clause
Files: src/wps/ndef.c
Copyright: 2009-2012, Masashi Honma <honma@ictec.co.jp>
License: BSD-3-clause
Files: src/wps/wps_validate.c
Copyright: 2010, Atheros Communications, Inc.
License: BSD-3-clause
Files: wpa_supplicant/dbus/dbus_common.*
wpa_supplicant/dbus/dbus_common_i.h
wpa_supplicant/dbus/dbus_new.*
wpa_supplicant/dbus/dbus_new_handlers.*
wpa_supplicant/dbus/dbus_new_handlers_wps.c
wpa_supplicant/dbus/dbus_new_helpers.*
wpa_supplicant/dbus/dbus_new_introspect.c
Copyright: 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
2009-2010, Witold Sowa <witold.sowa@gmail.com>
2009-2010, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: wpa_supplicant/dbus/dbus_dict_helpers.*
wpa_supplicant/dbus/dbus_old*
Copyright: 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
License: BSD-3-clause
Files: wpa_supplicant/dbus/dbus_new_handlers_p2p.*
wpa_supplicant/examples/p2p/*
wpa_supplicant/examples/dbus-listen-preq.py
Copyright: 2011-2012, Intel Corporation
License: BSD-3-clause
Files: wpa_supplicant/utils/log2pcap.py
Copyright: Johannes Berg <johannes@sipsolutions.net>, Intel Corporation
License: BSD-3-clause
Files: wpa_supplicant/wpa_gui-qt4/icons/ap.svg
Copyright: 2008, mystica
License: public-domain
Files: wpa_supplicant/wpa_gui-qt4/icons/group.svg
Copyright: 2009, Andrew Fitzsimon / Anonymous
License: public-domain
Files: wpa_supplicant/wpa_gui-qt4/icons/invitation.svg
Copyright: 2009, Jean Victor Balin
License: public-domain
Files: wpa_supplicant/wpa_gui-qt4/icons/laptop.svg
Copyright: 2008, metalmarious
License: public-domain
Files: wpa_supplicant/wpa_gui-qt4/icons/wpa_gui.svg
Copyright: 2008, Bernard Gray <bernard.gray@gmail.com>
License: BSD-3-clause or GPL-2
Files: wpa_supplicant/wpa_gui-qt4/peers.*
wpa_supplicant/wpa_gui-qt4/stringquery.*
Copyright: 2009-2010, Atheros Communications
License: BSD-3-clause
Files: wpa_supplicant/wpa_gui-qt4/signalbar.*
Copyright: 2011, Kel Modderman <kel@otaku42.de>
License: BSD-3-clause
Files: wpa_supplicant/Android.mk
wpa_supplicant/wpa_supplicant_conf.*
Copyright: 2008-2010, The Android Open Source Project
License: BSD-3-clause
Files: wpa_supplicant/ap.*
Copyright: 2003-2009, Jouni Malinen <j@w1.fi>
2009, Atheros Communications
License: BSD-3-clause
Files: wpa_supplicant/autoscan*
Copyright: 2012, Intel Corporation
License: BSD-3-clause
Files: wpa_supplicant/gas_query.*
wpa_supplicant/offchannel.*
wpa_supplicant/p2p_supplicant.*
wpa_supplicant/wifi_display.*
Copyright: 2009-2011, Atheros Communications
2011-2014, Qualcomm Atheros
2011-2014, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: wpa_supplicant/interworking.*
wpa_supplicant/wnm_sta.*
wpa_supplicant/wpas_kay.*
Copyright: 2011-2014, Qualcomm Atheros
2011-2014, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: debian/*
Copyright: 2004-2006, Kyle McMartin <kyle@debian.org>
2005-2009, Faidon Liambotis <paravoid@debian.org>
2006-2008, Reinhard Tartler <siretart@tauware.de>
2006-2012, Kel Modderman <kel@otaku42.de>
2010, Jan Dittberner <jandd@debian.org>
2010-2014, Stefan Lippers-Hollmann <s.l-h@gmx.de>
License: BSD-3-clause
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
.
3. Neither the name(s) of the above-listed copyright holder(s) nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: GPL-2
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
.
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, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
.
On Debian GNU/Linux systems, the complete text of the GNU General Public
License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
.
Note that this distribution of hostapd comes with configuration options that
link it to the OpenSSL library. The OpenSSL license is GPL-incompatible,
therefore in this distribution only the BSD license applies.
License: ISC
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
License: public-domain
Minimal code for RSA support from LibTomMath 0.41
http://libtom.org/
http://libtom.org/files/ltm-0.41.tar.bz2
This library was released in public domain by Tom St Denis.
.
The combination in this file may not use all of the optimized algorithms
from LibTomMath and may be considerable slower than the LibTomMath with its
default settings. The main purpose of having this version here is to make it
easier to build bignum.c wrapper without having to install and build an
external library.

View File

@@ -0,0 +1,38 @@
hostapd for Debian
------------------
This package provides two methods for managing hostapd process(es); an
initscript and an ifupdown hook. Both methods require creation of a
hostapd daemon configuration file (eg. /etc/hostapd/hostapd.conf) to
function correctly.
An example hostapd.conf may be used as a template but _must_ be edited
to suit your local configuration. An example is located at:
/usr/share/doc/hostapd/examples/hostapd.conf.gz
To use the example as a template:
# zcat /usr/share/doc/hostapd/examples/hostapd.conf.gz > \
/etc/hostapd/hostapd.conf
# $EDITOR /etc/hostapd/hostapd.conf
To use the initscript method of starting a hostapd daemon see
/etc/default/hostapd.
To use the ifupdown method, the path to hostapd configuration file can
be specified in a network interfaces configuration stanza in
/etc/network/interfaces like so:
iface eth1 inet static
hostapd /etc/hostapd/hostapd.conf
...
The hostapd process will be started in the pre-up phase of ifup, and be
terminated in the post-down phase of ifdown.
-- Kel Modderman <kel@otaku42.de> Tue, 27 Oct 2009 12:03:01 +1000
Please note:
* If you want to use hostapd with a Prism2/2.5/3 card in WPA mode, you'll need
STA firmware version >= 1.7.0.
-- Faidon Liambotis <faidon@cube.gr>, Mon, 10 Oct 2005 14:57:11 +0300

View File

@@ -0,0 +1,20 @@
# Defaults for hostapd initscript
#
# See /usr/share/doc/hostapd/README.Debian for information about alternative
# methods of managing hostapd.
#
# Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration
# file and hostapd will be started during system boot. An example configuration
# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
#
#DAEMON_CONF="/etc/hostapd.conf"
# Additional daemon options to be appended to hostapd command:-
# -d show more debug messages (-dd for even more)
# -K include key data in debug messages
# -t include timestamps in some debug messages
#
# Note that -B (daemon mode) and -P (pidfile) options are automatically
# configured by the init.d script and must not be added to DAEMON_OPTS.
#
#DAEMON_OPTS=""

View File

@@ -0,0 +1,6 @@
hostapd/hostapd.accept
hostapd/hostapd.conf
hostapd/hostapd.deny
hostapd/hostapd.eap_user
hostapd/hostapd.radius_clients
hostapd/hostapd.wpa_psk

View File

@@ -0,0 +1,67 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: hostapd
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Should-Start: $network
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Advanced IEEE 802.11 management daemon
# Description: Userspace IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP
# Authenticator
### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON_SBIN=/usr/sbin/hostapd
DAEMON_DEFS=/etc/default/hostapd
DAEMON_CONF=
NAME=hostapd
DESC="advanced IEEE 802.11 management"
PIDFILE=/run/hostapd.pid
[ -x "$DAEMON_SBIN" ] || exit 0
[ -s "$DAEMON_DEFS" ] && . /etc/default/hostapd
[ -n "$DAEMON_CONF" ] || exit 0
DAEMON_OPTS="-B -P $PIDFILE $DAEMON_OPTS $DAEMON_CONF"
. /lib/lsb/init-functions
case "$1" in
start)
log_daemon_msg "Starting $DESC" "$NAME"
start-stop-daemon --start --oknodo --quiet --exec "$DAEMON_SBIN" \
--pidfile "$PIDFILE" -- $DAEMON_OPTS >/dev/null
log_end_msg "$?"
;;
stop)
log_daemon_msg "Stopping $DESC" "$NAME"
start-stop-daemon --stop --oknodo --quiet --exec "$DAEMON_SBIN" \
--pidfile "$PIDFILE"
log_end_msg "$?"
;;
reload)
log_daemon_msg "Reloading $DESC" "$NAME"
start-stop-daemon --stop --signal HUP --exec "$DAEMON_SBIN" \
--pidfile "$PIDFILE"
log_end_msg "$?"
;;
restart|force-reload)
$0 stop
sleep 8
$0 start
;;
status)
status_of_proc "$DAEMON_SBIN" "$NAME"
exit $?
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload|reload|status}" >&2
exit 1
;;
esac
exit 0

View File

@@ -0,0 +1,2 @@
hostapd/hostapd usr/sbin/
hostapd/hostapd_cli usr/sbin/

View File

@@ -0,0 +1,2 @@
etc/hostapd/ifupdown.sh /etc/network/if-pre-up.d/hostapd
etc/hostapd/ifupdown.sh /etc/network/if-post-down.d/hostapd

View File

@@ -0,0 +1,2 @@
hostapd/hostapd.8
hostapd/hostapd_cli.1

View File

@@ -0,0 +1,30 @@
#!/bin/sh
set -e
rm_conffile() {
local PKGNAME="$1"
local CONFFILE="$2"
[ -e "$CONFFILE" ] || return 0
local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')"
local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \
sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")"
if [ "$md5sum" = "$old_md5sum" ]; then
echo "Removing obsolete conffile $CONFFILE ..."
rm -f "$CONFFILE"
fi
}
case "$1" in
install|upgrade)
if dpkg --compare-versions "$2" le "1:0.6.9-3"; then
rm_conffile hostapd /etc/hostapd/hostapd.conf
fi
;;
esac
#DEBHELPER#
exit 0

View File

@@ -0,0 +1,146 @@
#!/bin/sh
# Copyright (C) 2006-2009 Debian hostapd maintainers
# Faidon Liambotis <paravoid@debian.org>
# Kel Modderman <kel@otaku42.de>
#
# 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 2
# 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.
#
# On Debian GNU/Linux systems, the text of the GPL license,
# version 2, can be found in /usr/share/common-licenses/GPL-2.
# quit if we're called for lo
if [ "$IFACE" = lo ]; then
exit 0
fi
if [ -n "$IF_HOSTAPD" ]; then
HOSTAPD_CONF="$IF_HOSTAPD"
else
exit 0
fi
HOSTAPD_BIN="/usr/sbin/hostapd"
HOSTAPD_PNAME="hostapd"
HOSTAPD_PIDFILE="/run/hostapd.$IFACE.pid"
HOSTAPD_OMIT_PIDFILE="/run/sendsigs.omit.d/hostapd.$IFACE.pid"
if [ ! -x "$HOSTAPD_BIN" ]; then
exit 0
fi
if [ "$VERBOSITY" = "1" ]; then
TO_NULL="/dev/stdout"
else
TO_NULL="/dev/null"
fi
hostapd_msg () {
case "$1" in
verbose)
shift
echo "$HOSTAPD_PNAME: $@" > "$TO_NULL"
;;
stderr)
shift
echo "$HOSTAPD_PNAME: $@" > /dev/stderr
;;
*)
;;
esac
}
test_hostapd_pidfile () {
if [ -n "$1" ] && [ -f "$2" ]; then
if start-stop-daemon --stop --quiet --signal 0 \
--exec "$1" --pidfile "$2"; then
return 0
else
rm -f "$2"
return 1
fi
else
return 1
fi
}
init_hostapd () {
HOSTAPD_OPTIONS="-B -P $HOSTAPD_PIDFILE $HOSTAPD_CONF"
HOSTAPD_MESSAGE="$HOSTAPD_BIN $HOSTAPD_OPTIONS"
test_hostapd_pidfile "$HOSTAPD_BIN" "$HOSTAPD_PIDFILE" && return 0
hostapd_msg verbose "$HOSTAPD_MESSAGE"
start-stop-daemon --start --oknodo --quiet --exec "$HOSTAPD_BIN" \
--pidfile "$HOSTAPD_PIDFILE" -- $HOSTAPD_OPTIONS > "$TO_NULL"
if [ "$?" -ne 0 ]; then
return "$?"
fi
HOSTAPD_PIDFILE_WAIT=0
until [ -s "$HOSTAPD_PIDFILE" ]; do
if [ "$HOSTAPD_PIDFILE_WAIT" -ge 5 ]; then
hostapd_msg stderr \
"timeout waiting for pid file creation"
return 1
fi
HOSTAPD_PIDFILE_WAIT=$(($HOSTAPD_PIDFILE_WAIT + 1))
sleep 1
done
cat "$HOSTAPD_PIDFILE" > "$HOSTAPD_OMIT_PIDFILE"
return 0
}
kill_hostapd () {
HOSTAPD_MESSAGE="stopping $HOSTAPD_PNAME via pidfile: $HOSTAPD_PIDFILE"
test_hostapd_pidfile "$HOSTAPD_BIN" "$HOSTAPD_PIDFILE" || return 0
hostapd_msg verbose "$HOSTAPD_MESSAGE"
start-stop-daemon --stop --oknodo --quiet --exec "$HOSTAPD_BIN" \
--pidfile "$HOSTAPD_PIDFILE" > "$TO_NULL"
[ "$HOSTAPD_OMIT_PIDFILE" ] && rm -f "$HOSTAPD_OMIT_PIDFILE"
}
case "$MODE" in
start)
case "$PHASE" in
pre-up)
init_hostapd || exit 1
;;
*)
hostapd_msg stderr "unknown phase: \"$PHASE\""
exit 1
;;
esac
;;
stop)
case "$PHASE" in
post-down)
kill_hostapd
;;
*)
hostapd_msg stderr "unknown phase: \"$PHASE\""
exit 1
;;
esac
;;
*)
hostapd_msg stderr "unknown mode: \"$MODE\""
exit 1
;;
esac
exit 0

View File

@@ -0,0 +1,62 @@
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index 82ac61d..3570d96 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -2795,6 +2795,8 @@ static int hostapd_config_fill(struct hostapd_config *conf,
}
#endif /* CONFIG_IEEE80211W */
#ifdef CONFIG_IEEE80211N
+ } else if (os_strcmp(buf, "noscan") == 0) {
+ conf->noscan = atoi(pos);
} else if (os_strcmp(buf, "ieee80211n") == 0) {
conf->ieee80211n = atoi(pos);
} else if (os_strcmp(buf, "ht_capab") == 0) {
diff --git a/src/ap/ap_config.h b/src/ap/ap_config.h
index de470a9..f2a0235 100644
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
@@ -626,6 +626,7 @@ struct hostapd_config {
int ht_op_mode_fixed;
u16 ht_capab;
+ int noscan;
int ieee80211n;
int secondary_channel;
int no_pri_sec_switch;
diff --git a/src/ap/hw_features.c b/src/ap/hw_features.c
index fc8786d..0d5b384 100644
--- a/src/ap/hw_features.c
+++ b/src/ap/hw_features.c
@@ -472,7 +472,7 @@ static int ieee80211n_check_40mhz(struct hostapd_iface *iface)
struct wpa_driver_scan_params params;
int ret;
- if (!iface->conf->secondary_channel)
+ if (!iface->conf->secondary_channel || iface->conf->noscan)
return 0; /* HT40 not used */
hostapd_set_state(iface, HAPD_IFACE_HT_SCAN);
diff --git a/src/ap/ieee802_11_ht.c b/src/ap/ieee802_11_ht.c
index 11fde2a..87fb67b 100644
--- a/src/ap/ieee802_11_ht.c
+++ b/src/ap/ieee802_11_ht.c
@@ -221,6 +221,9 @@ void hostapd_2040_coex_action(struct hostapd_data *hapd,
if (!(iface->conf->ht_capab & HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET))
return;
+ if (iface->conf->noscan)
+ return;
+
if (len < IEEE80211_HDRLEN + 2 + sizeof(*bc_ie))
return;
@@ -345,6 +348,9 @@ void ht40_intolerant_add(struct hostapd_iface *iface, struct sta_info *sta)
if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G)
return;
+ if (iface->conf->noscan)
+ return;
+
wpa_printf(MSG_INFO, "HT: Forty MHz Intolerant is set by STA " MACSTR
" in Association Request", MAC2STR(sta->addr));

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,3 @@
session-ticket.patch
300-noscan.patch
realtek.patch

View File

@@ -0,0 +1,12 @@
diff --git a/src/crypto/tls_openssl.c b/src/crypto/tls_openssl.c
index 23ac64b48..cc8d159e0 100644
--- a/src/crypto/tls_openssl.c
+++ b/src/crypto/tls_openssl.c
@@ -1577,6 +1577,7 @@ struct tls_connection * tls_connection_init(void *ssl_ctx)
#ifdef SSL_OP_NO_COMPRESSION
options |= SSL_OP_NO_COMPRESSION;
#endif /* SSL_OP_NO_COMPRESSION */
+ options |= SSL_OP_NO_TICKET;
SSL_set_options(conn->ssl, options);
conn->ssl_in = BIO_new(BIO_s_mem());

View File

@@ -0,0 +1,67 @@
#!/usr/bin/make -f
# without "-relro,-pie" building on Stretch breaks
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/buildflags.mk
# The build system doesn't use CPPFLAGS, pass them to CFLAGS/CXXFLAGS to
# enable the missing (hardening) flags
DEB_CFLAGS_MAINT_APPEND = -MMD -Wall $(shell dpkg-buildflags --get CPPFLAGS)
DEB_CXXFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS)
DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_CFLAGS_MAINT_APPEND DEB_CXXFLAGS_MAINT_APPEND DEB_LDFLAGS_MAINT_APPEND
UCFLAGS = -MMD -Wall -g -Os -fPIC
BINDIR = /sbin
#V = 1
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
CC=$(DEB_HOST_GNU_TYPE)-gcc
endif
export CC BINDIR
VERSION := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\([0-9]*:\)\?\(.*\)$$,\2,p')
override_dh_auto_build:
# build hostapd
cp -v --remove-destination debian/config/config_realtek hostapd/.config
dh_auto_build --sourcedirectory=hostapd \
--buildsystem=makefile \
--parallel
dh_auto_clean --sourcedirectory=src --buildsystem=makefile
override_dh_auto_clean:
dh_auto_clean --sourcedirectory=hostapd \
--buildsystem=makefile
override_dh_auto_install:
$(info Skip dh_auto_install ...)
override_dh_clean:
dh_clean hostapd/.config
override_dh_install:
dh_install
install --mode=755 -D debian/ifupdown/hostapd.sh \
debian/hostapd-realtek/etc/hostapd/ifupdown.sh
install --mode=644 -D debian/config/hostapd.conf \
debian/hostapd-realtek/etc/hostapd.conf
override_dh_installchangelogs:
dh_installchangelogs --package=hostapd-realtek hostapd/ChangeLog
override_dh_builddeb:
dh_builddeb -- -Zxz -z6
override_dh_installinit:
dh_installinit --name=hostapd
### end dh overrides
%:
dh ${@} --parallel

View File

@@ -0,0 +1 @@
3.0 (quilt)

View File

@@ -0,0 +1,2 @@
compression = "xz"
compression-level = 6

View File

@@ -0,0 +1,20 @@
wpasupplicant (0.6.2-1) unstable; urgency=low
The -w (wait for network interface to exist) command line option no longer
exists. If you have scripts that require this option, it is time to change
them, or use one of the two supported modes of operation explained at
/usr/share/doc/wpasupplicant/README.modes.gz.
ifupdown supports hot-plugged network devices via the "allow-hotplug" class
of operation. An example /etc/network/interfaces configuration stanza would
look like:
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid myssid
wpa-psk mysecretpassphrase
network-manager is also able to handle hot-plugged network devices.
-- Kel Modderman <kel@otaku42.de> Mon, 14 Jan 2008 18:02:17 +1000

View File

@@ -0,0 +1,128 @@
"wpa" sources for Debian
------------------------
This "wpa" source package merges wpa_supplicant and hostapd sources, which are
maintained in one source repository[1] upstream and share considerable/
duplicate amounts of source. Starting with the 1.x branch, both wpa_supplicant
and hostapd are built from this common source package for Debian, while not
released together as tarball by upstream, the source can be obtained from the
upstream git repositories.
The preferred way to generate the orig.tar.gz is by calling
$ debian/rules get-orig-source
which will clone the upstream git repository under $TMPDIR, using mktemp(1),
and create a new tarball based on the git tag corresponding to the top most
entry in debian/changelog. This newly generated tarball will be stored as
../wpa_${VERSION}.orig.tar.gz or ../tarballs/wpa_${VERSION}.orig.tar.gz, if
a directory called ../tarballs/ exists. Eventually existing tarballs
corresponding to the current version will not be overwritten.
Required dependencies to generate a new orig.tar.gz:
- a SUSv3 compatible shell, like dash or bash
- dpkg-parsechangelog, available from dpkg-dev
- git
- xz, available from xz-utils or busybox
- mktemp and rm, available from coreutils or busybox
- sed, available from sed or busybox
- tar, available from tar or busybox
It is recommended to base tarballs for development snapshots of "wpa" on
according git tags from the upstream git repository, the available git tags
can be queried by:
$ git clone git://w1.fi/srv/git/hostap-1.git # 1.x branch
or
$ git clone git://w1.fi/srv/git/hostap.git # >= 2.x branches
changing into the corresponding directory (hostap-1 or hostapd) and calling
git tag.
$ cd hostapd-1
$ git tag
hostap_0_6_3
[…]
hostap_1_0
[…]
hostap_1_0_rc3
[…]
The Debian versions for these tags would be 0.6.3-1, 1.0 or 1.0~rc3 in
debian/changelog. Intermediate states between tags or HEAD are usually best
dealt with by creating a patch series based on the newest matching tag.
Exporting commits between "hostap_1_0" and the current git HEAD:
$ git format-patch hostap_1_0..HEAD
Exporting commits between "hostap_1_0_rc3" and "hostap_1_0":
$ git format-patch hostap_1_0_rc3..hostap_1_0
In both cases numbered patches will be dropped in the base directory of the
git clone. These numbered patches can be imported to the Debian package using
standard procedures for "3.0 (quilt)" source packages.
Tarballs can also be created manually from the upstream git repository:
$ git clone git://w1.fi/srv/git/hostap-1.git
$ cd hostap-1
$ git archive \
--format=tar \
--prefix="wpa-1.0/" \
hostap_1_0 \
README COPYING patches src wpa_supplicant hostapd | \
xz -c6 > wpa_1.0.orig.tar.gz
Arbitrary git tags or commit IDs can be used for this purpose.
Upstream git snapshots can be exported by using a specially crafted version
syntax used in the top most (pending) changelog entry. The required syntax for
correctly parsing this is:
<upstream_version>+git<date>.<revision>+<git_hash>-<debian_revision>
upstream_version := [0-9\.]* --> 2.0
date := [0-9]* --> 20131120 (YYYYMMDD)
revision := [0-9]* --> 1
git_hash := [0-9a-f]* --> 594516b
debian_revision := [0-9*] --> 1
e.g.:
2.0+git20131120.1+594516b-1
Technically any incrementing number can be used for <date>, but it's strongly
recommended to use YYYYMMDD (date --utc +%Y%m%d) and follow it by an
strictly incrementing arbitrary revision number (typically '.1'). The supplied
git hash can be abbreviated, but must be unique (see git describe, without
leading 'g').
The debian/rules get-orig-source target will automatically switch between
hostapd-1.git and hostapd.git (for >= 2.0) as needed, but it will only fetch
the explicitly specified version from a properly formatted, top most,
debian/changelog entry; it will not fetch the last upstream release or git
HEAD automatically.
The Debian packaging for wpa_supplicant/ hostapd is maintained in a subversion
repository at:
Vcs-Svn: svn://anonscm.debian.org/svn/pkg-wpa/wpa/trunk/
Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-wpa/wpa/trunk/
The development mailing list and its mailing list archive is located at:
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-wpa-devel
Work for the wpa package can be coordinated on this mailing list through:
Debian wpasupplicant Maintainers <pkg-wpa-devel@lists.alioth.debian.org>
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Sat, 28 Dec 2013 22:37:03 +0100
[1] http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap-1.git [1.x branch]
http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap.git [development]

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,483 @@
hostapd (1:0.7.3-5) UNRELEASED; urgency=low
* NOT RELEASED YET
* bump standards version to 3.9.3, no changes necessary.
* update dep-5 version to final 1.0:
- add format qualifier
- s/Upstream-Maintainer/Upstream-Contact/
- s/Upstream-Source/Source/
- use "or" instead of "BSD | GPL-2" for dual-licensed sources
- order licenses alphabetically.
- fix lists of copyright holders for the final syntax
- fix license continuation.
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Mon, 27 Feb 2012 22:07:19 +0100
hostapd (1:0.7.3-4) unstable; urgency=low
* add myself to uploaders.
* add "hostap: Allow linking with libnl-3" from Ben Greear
<greearb@candelatech.com> to allow building against libnl3 3.2.
* switch build dependency from libnl-dev (libnl1) to libnl-3-dev &&
libnl-genl-3-dev accordingly.
* add libpcap-dev and libbsd-dev to kFreeBSD specific build-depends.
* disable IAPP on kFreeBSD, to avoid FTBS.
* restrict hostapd to linux-any and kfreebsd-any, hurd lacks kernel support.
* raise versioned build-dependency to (>= 3.2.3-2~), we need
libnl-genl-3-200-udeb and expect it in /lib/.
* add "For MS-CHAP, convert the password from UTF-8 to UCS-2" from
Evan Broder <ebroder@mokafive.com>, accepted upstream into hostap-1.git
* fix long description, driver_madwifi is no longer enabled, while driver_bsd
got enabled.
-- Stefan Lippers-Hollmann <s.l-h@gmx.de> Tue, 20 Dec 2011 02:51:49 +0100
hostapd (1:0.7.3-3) unstable; urgency=low
[ Kel Modderman ]
* Use /run/sendsigs.omit.d/ for sendsigs omission pid file and depend on
initscripts (>= 2.88dsf-13.3). (Closes: #633026)
* Migrate existing sendsigs omission pid files from /lib/init/rw to /run.
* Add a loop to ifupdown.sh to wait for creation of hostapd pid file before
attempting creation of sensigs omission pid file, in some cases hostapd
daemon can return before creation of the pid file has been written to disk.
* Adjust standards version to 3.9.2, no further changes required to
satisfy that.
* Only test that DAEMON_CONF is set in init.d script, do not test if what is
set is readable (which assumes only one configuration file is being used).
(Closes: #615821)
[ Stefan Lippers-Hollmann ]
* use new anonscm URIs for alioth.
-- Kel Modderman <kel@otaku42.de> Sun, 11 Dec 2011 20:32:06 +1000
hostapd (1:0.7.3-2) unstable; urgency=low
* upload to unstable
-- Jan Dittberner <jandd@debian.org> Sun, 06 Feb 2011 13:20:42 +0100
hostapd (1:0.7.3-1) experimental; urgency=low
* New upstream release, upstream declares this as the new stable release.
* debian/control: update Standards-Version to 3.9.1 (no changes
necessary)
* debian/copyright: include license text of the BSD license variant,
add myself to the list of copyright holders for the debian/* files
* add debian/hostapd.lintian-overrides and install it as
/usr/share/lintian/overrides/hostapd to fix possible-gpl-code-linked-
with-openssl Lintian error
-- Jan Dittberner <jandd@debian.org> Tue, 07 Sep 2010 20:43:01 +0200
hostapd (1:0.7.2-2) experimental; urgency=low
* disable madwifi driver
- remove debian/driver_madwifi
- disable madwifi driver in debian/config/linux
-- Jan Dittberner <jandd@debian.org> Tue, 27 Apr 2010 21:09:08 +0200
hostapd (1:0.7.2-1) experimental; urgency=low
* New upstream release
* debian/control: add myself to Uploaders
* update debian/watch to track version 0.7.x
* disable debian/patches/DTIM.patch that does not apply to current upstream
sources
-- Jan Dittberner <jandd@debian.org> Mon, 26 Apr 2010 20:21:00 +0200
hostapd (1:0.6.10-2) unstable; urgency=low
* Switch to source format 3.0 (quilt).
* Add DTIM.patch, cherry picked from upstream, which works around
problem setting DTIM period too early causing hostapd to bail out
unceremoniously. (Closes: #570116)
* Fix syntax error in ifupdown.sh. (Closes: #571029)
-- Kel Modderman <kel@otaku42.de> Wed, 24 Feb 2010 19:36:11 +1000
hostapd (1:0.6.10-1) unstable; urgency=low
* New upstream release.
- drop all patches applied upstream
* Install hostapd_cli to /usr/sbin/ from /usr/bin/, as it requires
explicit permissions to be usable by non-admin.
* Support the status command in init.d script. Depend on lsb-base (>=
3.2-13) for status_of_proc. Patch thanks to Peter Eisentraut.
(Closes: #535633)
* Add debian/README.source to describe use of quilt patch system.
* Increase Standards-Version to 3.8.4 without extra changes.
* Reduce debian/rules by tweaking the sequence of a few things and
using the --sourcedirectory option of dh in debhelper (>= 7.3.7~).
Build-Depend on that debhelper version.
* No longer install /etc/hostapd/hostapd.conf per default as there are
no sane defaults. Instead provide the configuration as an example
only and take care to remove previously installed conffiles which
remain unedited on upgrade.
* Clean up init.d script a bit by using existence of hostapd daemon
configuration file as defined in /etc/default/hostapd as conditional
for starting instead of magic RUN_DAEMON variable.
* Update README.Debian to contain information about the example
hostapd.conf file.
* Remove Reinhard Tartler from uploaders at his request. Thanks for
past contribution.
* Remove uupdate command from debian/watch, unused by maintainer.
* Adjust debian/watch to scan for the 0.6.X stable releases only.
-- Kel Modderman <kel@otaku42.de> Thu, 11 Feb 2010 14:49:44 +1000
hostapd (1:0.6.9-3) unstable; urgency=low
* Change Maintainer to pkg-wpa-devel team and add Reinhard and myself
to Uploaders to better reflect the organisation which makes the package
available.
* Import upstream patches:
- hostap_reuse_existing_ctrl_iface_socket.patch allows to reuse ctrl
interface sockets left over as result of unclean shutdown
- hostap_reject_conf_without_channel_nl80211.patch adds code to reject
configurations which use nl80211 driver without setting a channel
because this will always fail for the time being
* Build-Depend on quilt >= 0.46-7 for dh integration.
* Update debian/control long description to mention mac80211 based
drivers. Thanks to Jan Braunisch for noticing.
* Also remove reference to the Prism54 driver in package long
description, we do not support it.
-- Kel Modderman <kel@otaku42.de> Sun, 17 May 2009 04:35:12 +1000
hostapd (1:0.6.9-2) unstable; urgency=low
* Enable CONFIG_IEEE80211W, IEEE 802.11w (management frame
protection). (Closes: #522328)
-- Kel Modderman <kel@otaku42.de> Fri, 03 Apr 2009 07:07:06 +1000
hostapd (1:0.6.9-1) unstable; urgency=low
[ Kel Modderman ]
* New upstream release. (Closes: #521142)
* Document copyright errata of hostapd/driver_atheros.c in
debian/copyright.
- activate nl80211 driver backend (Closes: #429734)
- deactivate prism54 driver, it is now working. Do not mention it
in README.Debian (Closes: #475451)
* Add build dependency of libnl-dev (>= 1.1) for the nl80211 driver
backend.
* Remove need for patch system.
- ship madwifi headers in debian/driver_madwifi
- use sed to patch hostapd.conf in order to change /etc/hostapd.* to
/etc/hostapd/*
- copy in build configuration from debian/config/$(DEB_HOST_ARCH_OS)
to hostapd/.config rather than using a patch
* Add support for kfreebsd build by providing debian/config/kfreebsd
without Linux specific build options.
* Use dh-centric debian/rules and build-depend on debhelper (>= 7.0.50)
in order to take advantage of the override_dh_* feature.
* Bump debian/compat to 7.
* Adjust Standards-Version to 3.8.0, no further changes needed.
* Use machine parsable debian/copyright format.
* Add debian/manpages instead of using explicit dh_installmanpages
command in debian/rules.
* Rename debian/lintian-overrides to debian/hostapd.lintian-overrides
so that dh_lintian automatically picks it up.
* Bump Standards-Version to 3.8.1, no other changes required.
* Remove var/run/hostapd and usr/share/lintian/overrides from
debian/dirs. hostapd is able to create its own directory for unix
sockets (and that may be anywhere admin decides) and lintian stuff
is taken care of by debhelper now.
* Update copyright information in debian/ifupdown.sh
[ Faidon Liambotis ]
* Switch Maintainer/Uploaders roles with Kel; he's the de facto maintainer
nowadays, he may as well listed as such.
-- Faidon Liambotis <paravoid@debian.org> Sun, 29 Mar 2009 21:37:22 +0300
hostapd (1:0.5.10-1) unstable; urgency=low
* New upstream release.
* Document the two methods of managing hostapd in README.Debian. Also add a
hint to /etc/default/hostapd to consult README.Debian for more
information. (Closes: #443786)
* Cleanup of debian/rules, actually honor nostrip by specifying default
CFLAGS when invoking make. Remove redundant commented out content.
* Fix incorrect LSB dependency information, hostapd now requires $remote_fs
virtual facility for start and stop. Thanks to Petter Reinholdtsen.
(Closes: #466283)
-- Kel Modderman <kel@otaku42.de> Tue, 11 Mar 2008 12:36:03 +1000
hostapd (1:0.5.9-1) unstable; urgency=low
* New upstream release.
* Bumped to Standards-Version 3.7.3, no changed needed.
* Switched to Vcs-* instead of XS-Vcs.
* Added Homepage field.
* Refer to GPL-2 explicitely, as this is a GPL v2-only software.
* Remove remnants of patches for dscape/mac80211.
* Update to madwifi 0.9.3.3 headers; no functional changes.
-- Faidon Liambotis <paravoid@debian.org> Wed, 12 Dec 2007 03:43:13 +0200
hostapd (1:0.5.8-1) unstable; urgency=low
[ Kel Modderman ]
* New upstream release.
* Add bash script to prepare madwifi_headers.patch.
* patches/20_madwifi_headers.dpatch made from madwifi 0.9.3, which is what
is currently in the archive, and stable upstream release.
(Closes: #408642)
* Rename 21_madwifi_includes.dpatch to 21_madwifi_enable.dpatch.
* Make our new mac80211 header dpatches similar to that of madwifi; keep
upstream include directory tree intact and modify CFLAGS.
* Refresh our build config with upstreams current defconfig.
* CONFIG_STAKEY is deprecated in favour of CONFIG_PEERKEY.
[ Faidon Liambotis ]
* Remove upgrade paths from pre-etch versions, we only support incremental
updates. Fix a lintian error in the process.
* Don't ignore "make clean" errors, if they exist; fixes a lintian warning.
-- Faidon Liambotis <paravoid@debian.org> Tue, 24 Jul 2007 17:43:44 +0300
hostapd (1:0.5.7-1) unstable; urgency=low
* New upstream release.
* Drop backported code included in this upstream release.
* Bump debhelper compat level to 5, no other changes required.
* Include ifupdown integration; it is now possible to start
hostapd via a /etc/network/interfaces line such as:
'hostapd /etc/hostapd/hostapd.conf'
for any given interface. The daemon will start in pre-up phase of ifup,
and be killed in post-down phase of ifdown. A pidfile of
/var/run/hostapd.$IFACE.pid will be created for each interface's daemon.
* Add XS-Vcs fields to debian/control.
* Change of Uploader email address in debian/control.
* Update madwifi includes to r2157 upstream madwifi.org/trunk.
* Update debian/copyright with new upstream URL, contact information and
copyright years.
* Modify debian/watch file for new upstream release URL.
* Make debian/watch version 3, remove useless comments from file.
-- Kel Modderman <kel@otaku42.de> Mon, 09 Apr 2007 18:31:22 +1000
hostapd (1:0.5.5-3.1) unstable; urgency=high
* Non-maintainer upload.
* Urgency high for RC bugfix.
* Backport hostapd.c fix from CVS: (Closes: #398466)
- Allow hostapd_flush_old_stations to fail, otherwise configuration
of unencrypted modes failed with madwifi. (1.168)
The correct setup is handled by the backported fixes in the
previous revision.
-- Matt Brown <mattb@debian.org> Sat, 9 Dec 2006 11:03:47 +1300
hostapd (1:0.5.5-3) unstable; urgency=medium
* Update madwifi headers to r1757.
* Backport driver_madwifi.c fixes from CVS:
- Set forgotten im_op for sta_disassoc handlers (1.49)
- Fixed configuration of unencrypted modes (plaintext and IEEE 802.1X
without WEP) (1.51)
* Urgency medium because of a bugfix revision.
-- Faidon Liambotis <paravoid@debian.org> Sun, 12 Nov 2006 02:37:43 +0200
hostapd (1:0.5.5-2) unstable; urgency=low
* Versioned dependency on lsb-base (>= 3.0-3) for log_daemon_message used in
hostapd init script. (Closes: #386156)
-- Kel Modderman <kelrin@tpg.com.au> Wed, 6 Sep 2006 14:31:14 +1000
hostapd (1:0.5.5-1) unstable; urgency=low
[ Kel Modderman ]
* New upstream release.
* Allow hostapd to install, by first checking for existence of
/etc/hostapd/hostapd.conf before attempting to change permissions.
[ Faidon Liambotis ]
* Also fix ownership of hostapd.conf on upgrades.
-- Faidon Liambotis <paravoid@debian.org> Tue, 29 Aug 2006 15:29:47 +0300
hostapd (1:0.5.4-1) unstable; urgency=low
[ Kel Modderman ]
* New upstream release. (Closes: #378703)
* Add LSB INIT info header to init script, as per specs. Source lsb-base
init functions, use them to report daemon status in a standard way.
(Closes: #376327)
* Add dpatch (30_hostapd_pidfile) to allow hostapd process to create a pid
file when daemonized.
* The init daemon now creates a pid file at /var/run/hostapd.pid.
* Allow multiple configuration files to be given to hostapd via
/etc/default/hostapd, enabling the possibility of managing multiple
interfaces with one process. If the configuration files are not specified
use /etc/hostapd/hostapd.conf to preserve backwards compatability.
This also allows the user to use a single configuration file !=
/etc/hostapd/hostapd.conf. (Closes: #377054)
* Add 'reload' option to init script. Send HUP signal to hostapd, causing it
to reload its configuration file.
* Add some extra DAEMON_OPTIONS hints to the /etc/default/hostapd file.
* Set hostapd.conf permissions to 0600, it may contain sensitive details.
(Closes: #380632)
* Update madwifi headers to r1705. This should ensure maximum compatibility
with the madwifi-source package currently available. (Closes: #384504)
* Slightly change the way madwifi is activated, add an extra CFLAG instead of
hardcoding the paths to the headers in driver_madwifi.c.
* Add myself to uploaders.
[ Faidon Liambotis ]
* Fixes a potential DoS fix in RSN preauthentication (upstream bug #152).
* Add lintian override for hostapd.conf unusual permissions.
* Exclude hostapd.conf from dh_fixperms.
* Fix permissions of hostapd.conf retroactively in upgrades.
-- Faidon Liambotis <paravoid@debian.org> Fri, 25 Aug 2006 04:28:00 +0300
hostapd (1:0.5.3-1) unstable; urgency=low
* New upstream release
- Fix some warnings when compiling with GCC 4.1.
- Adapt 12_conf_etc_hostapd.dpatch to the new hostapd.conf.
* Include the test driver, for debugging purposes. (Closes: #372107)
* Delete unmodified obsolete conffiles when upgrading from a previous
version (namely, hostapd.{accept,deny}).
Thanks to Lars Wirzenius and piuparts! (Closes: #353191)
* Update madwifi-ng headers to version 0.9.0.
* Remove the suggestion of hostap-modules, hostap is merged to the latest
2.6 kernels and it's one of the many options anyway.
* Changed maintainer's e-mail address.
* Updated Standards-Version to 3.7.2, no changes needed.
-- Faidon Liambotis <paravoid@debian.org> Fri, 9 Jun 2006 03:23:23 +0300
hostapd (1:0.5.0-1) unstable; urgency=low
* New upstream release
- Removed patch 01-prism54-hostap_common, merged upstream.
* Update madwifi headers to madwifi-ng, rev1390.
* Updated 'Standards-Version' to 3.6.2.2 (no changes).
-- Faidon Liambotis <faidon@cube.gr> Thu, 5 Jan 2006 02:13:17 +0200
hostapd (1:0.4.5-2) unstable; urgency=low
* No changes, previous version appeared as an NMU.
-- Faidon Liambotis <faidon@cube.gr> Tue, 11 Oct 2005 19:15:27 +0300
hostapd (1:0.4.5-1) unstable; urgency=low
* New upstream release
- added experimental support for EAP-PSK
- added support for WE-19
* Update madwifi headers to the latest CVS. (Closes: #326893)
* README.Debian:
- Document that in-kernel versions of prism54 won't work. (Closes: #315852)
- Mention Prism2/2.5/3.0's STA firmware limitations.
* Updated 'Standards-Version' to 3.6.2.1 (no changes).
-- Faidon Liambotis <faidon@cube.gr> Mon, 10 Oct 2005 15:55:13 +0300
hostapd (1:0.4.2-1) unstable; urgency=low
* New upstream release
- Manpages incorporated upstream.
- Removed patches 01_makefile, 02_conf_wpa_to_hostapd, 03_usage_cleanup,
accepted upstream.
- Adapted patch 21_madwifi_includes
- Added support for RADIUS over IPv6
- Added support for EAP-PAX
* Removed /etc/hostapd/hostapd.accept & hostapd.deny, now shipping all
example configuration files to /usr/share/doc/hostapd/examples/
-- Faidon Liambotis <faidon@cube.gr> Wed, 15 Jun 2005 18:23:33 +0300
hostapd (1:0.3.7-2) unstable; urgency=medium
* Better handling of patching upstream using dpatch.
* Added madwifi support.
Hack stolen from wpasupplicant, thanks to Kyle McMartin.
* Changed hostapd_cli path to /usr/bin/ from /usr/sbin/.
* Report failed start of hostapd when starting from the init.d script.
(Closes: #303206).
* Added hostapd(8) and hostapd_cli(1) manpages.
Now lintian & linda clean ;)
* Cleaned-up hostapd/hostapd_cli usage information.
-- Faidon Liambotis <faidon@cube.gr> Mon, 11 Apr 2005 11:53:58 +0300
hostapd (1:0.3.7-1) unstable; urgency=medium
* New upstream release
- Changed license to Dual GPL/BSD.
- New tool hostapd_cli for command-line administration.
* Adapt description to reflect new features.
* Now Suggesting instead of Recommending hostap-modules, hostapd can now
work with other drivers.
-- Faidon Liambotis <faidon@cube.gr> Wed, 23 Feb 2005 10:12:06 +0200
hostapd (1:0.2.6-1) unstable; urgency=low
* New upstream release.
* Modified description to match v0.2.x features.
* Modified debian/rules to use 'dh_install'.
* Removed source code documentation from /usr/share/doc/.
-- Faidon Liambotis <faidon@cube.gr> Tue, 28 Dec 2004 19:01:26 +0200
hostapd (1:0.2.5-1) unstable; urgency=low
* Adopted by new maintainer (Closes: #265332).
* New upstream release (Closes: #255302).
* Create init.d script disabled by default
via /etc/default/hostapd (Closes: #208027).
* Updated 'Standards-Version' to 3.6.1.
* Other minor bugfixes.
-- Faidon Liambotis <faidon@cube.gr> Thu, 18 Nov 2004 18:11:57 +0200
hostapd (1:0.1.3-2) unstable; urgency=low
* Orphaned
-- Francois Gurin <matrix@debian.org> Thu, 12 Aug 2004 14:18:11 -0400
hostapd (1:0.1.3-1) unstable; urgency=low
* New upstream release
-- Francois Gurin <matrix@debian.org> Sun, 4 Apr 2004 19:05:28 -0400
hostapd (1:0.1.0-4) unstable; urgency=low
* changed depends to recommends.
-- Francois Gurin <matrix@debian.org> Mon, 8 Dec 2003 15:12:45 -0500
hostapd (1:0.1.0-3) unstable; urgency=low
* fixed a pebcak issue with upload
-- Francois Gurin <matrix@debian.org> Mon, 27 Oct 2003 01:37:06 -0500
hostapd (1:0.1.0-2) unstable; urgency=low
* fixed version epoch
-- Francois Gurin <matrix@debian.org> Mon, 27 Oct 2003 00:52:01 -0500
hostapd (0.1.0-1) unstable; urgency=low
* Initial Release.
-- Francois Gurin <matrix@debian.org> Sun, 26 Oct 2003 04:55:36 -0500

View File

@@ -0,0 +1 @@
9

View File

@@ -0,0 +1,316 @@
# Example hostapd build time configuration
#
# This file lists the configuration options that are used when building the
# hostapd binary. All lines starting with # are ignored. Configuration option
# lines must be commented out complete, if they are not to be included, i.e.,
# just setting VARIABLE=n is not disabling that variable.
#
# This file is included in Makefile, so variables like CFLAGS and LIBS can also
# be modified from here. In most cass, these lines should use += in order not
# to override previous values of the variables.
# Driver interface for Host AP driver
CONFIG_DRIVER_HOSTAP=y
# Driver interface for wired authenticator
#CONFIG_DRIVER_WIRED=y
# Driver interface for drivers using the nl80211 kernel interface
CONFIG_DRIVER_NL80211=y
# driver_nl80211.c requires libnl. If you are compiling it yourself
# you may need to point hostapd to your version of libnl.
#
CFLAGS += -I$/usr/include/libnl3/
LIBS += -L$/usr/include/libnl3/
# Use libnl v2.0 (or 3.0) libraries.
CONFIG_LIBNL20=y
# Use libnl 3.2 libraries (if this is selected, CONFIG_LIBNL20 is ignored)
CONFIG_LIBNL32=y
# Driver interface for FreeBSD net80211 layer (e.g., Atheros driver)
#CONFIG_DRIVER_BSD=y
#CFLAGS += -I/usr/local/include
#LIBS += -L/usr/local/lib
#LIBS_p += -L/usr/local/lib
#LIBS_c += -L/usr/local/lib
# Driver interface for no driver (e.g., RADIUS server only)
#CONFIG_DRIVER_NONE=y
# IEEE 802.11F/IAPP
CONFIG_IAPP=y
# WPA2/IEEE 802.11i RSN pre-authentication
CONFIG_RSN_PREAUTH=y
# PeerKey handshake for Station to Station Link (IEEE 802.11e DLS)
CONFIG_PEERKEY=y
# IEEE 802.11w (management frame protection)
CONFIG_IEEE80211W=y
# Integrated EAP server
CONFIG_EAP=y
# EAP Re-authentication Protocol (ERP) in integrated EAP server
CONFIG_ERP=y
# EAP-MD5 for the integrated EAP server
CONFIG_EAP_MD5=y
# EAP-TLS for the integrated EAP server
CONFIG_EAP_TLS=y
# EAP-MSCHAPv2 for the integrated EAP server
CONFIG_EAP_MSCHAPV2=y
# EAP-PEAP for the integrated EAP server
CONFIG_EAP_PEAP=y
# EAP-GTC for the integrated EAP server
CONFIG_EAP_GTC=y
# EAP-TTLS for the integrated EAP server
CONFIG_EAP_TTLS=y
# EAP-SIM for the integrated EAP server
#CONFIG_EAP_SIM=y
# EAP-AKA for the integrated EAP server
#CONFIG_EAP_AKA=y
# EAP-AKA' for the integrated EAP server
# This requires CONFIG_EAP_AKA to be enabled, too.
#CONFIG_EAP_AKA_PRIME=y
# EAP-PAX for the integrated EAP server
#CONFIG_EAP_PAX=y
# EAP-PSK for the integrated EAP server (this is _not_ needed for WPA-PSK)
#CONFIG_EAP_PSK=y
# EAP-pwd for the integrated EAP server (secure authentication with a password)
#CONFIG_EAP_PWD=y
# EAP-SAKE for the integrated EAP server
#CONFIG_EAP_SAKE=y
# EAP-GPSK for the integrated EAP server
#CONFIG_EAP_GPSK=y
# Include support for optional SHA256 cipher suite in EAP-GPSK
#CONFIG_EAP_GPSK_SHA256=y
# EAP-FAST for the integrated EAP server
# Note: If OpenSSL is used as the TLS library, OpenSSL 1.0 or newer is needed
# for EAP-FAST support. Older OpenSSL releases would need to be patched, e.g.,
# with openssl-0.9.8x-tls-extensions.patch, to add the needed functions.
#CONFIG_EAP_FAST=y
# Wi-Fi Protected Setup (WPS)
#CONFIG_WPS=y
# Enable UPnP support for external WPS Registrars
#CONFIG_WPS_UPNP=y
# Enable WPS support with NFC config method
#CONFIG_WPS_NFC=y
# EAP-IKEv2
#CONFIG_EAP_IKEV2=y
# Trusted Network Connect (EAP-TNC)
#CONFIG_EAP_TNC=y
# EAP-EKE for the integrated EAP server
#CONFIG_EAP_EKE=y
# PKCS#12 (PFX) support (used to read private key and certificate file from
# a file that usually has extension .p12 or .pfx)
CONFIG_PKCS12=y
# RADIUS authentication server. This provides access to the integrated EAP
# server from external hosts using RADIUS.
#CONFIG_RADIUS_SERVER=y
# Build IPv6 support for RADIUS operations
CONFIG_IPV6=y
# IEEE Std 802.11r-2008 (Fast BSS Transition)
#CONFIG_IEEE80211R=y
# Use the hostapd's IEEE 802.11 authentication (ACL), but without
# the IEEE 802.11 Management capability (e.g., FreeBSD/net80211)
#CONFIG_DRIVER_RADIUS_ACL=y
# IEEE 802.11n (High Throughput) support
CONFIG_IEEE80211N=y
# Wireless Network Management (IEEE Std 802.11v-2011)
# Note: This is experimental and not complete implementation.
#CONFIG_WNM=y
# IEEE 802.11ac (Very High Throughput) support
CONFIG_IEEE80211AC=y
# Remove debugging code that is printing out debug messages to stdout.
# This can be used to reduce the size of the hostapd considerably if debugging
# code is not needed.
#CONFIG_NO_STDOUT_DEBUG=y
# Add support for writing debug log to a file: -f /tmp/hostapd.log
# Disabled by default.
#CONFIG_DEBUG_FILE=y
# Add support for sending all debug messages (regardless of debug verbosity)
# to the Linux kernel tracing facility. This helps debug the entire stack by
# making it easy to record everything happening from the driver up into the
# same file, e.g., using trace-cmd.
#CONFIG_DEBUG_LINUX_TRACING=y
# Remove support for RADIUS accounting
#CONFIG_NO_ACCOUNTING=y
# Remove support for RADIUS
#CONFIG_NO_RADIUS=y
# Remove support for VLANs
#CONFIG_NO_VLAN=y
# Enable support for fully dynamic VLANs. This enables hostapd to
# automatically create bridge and VLAN interfaces if necessary.
#CONFIG_FULL_DYNAMIC_VLAN=y
# Use netlink-based kernel API for VLAN operations instead of ioctl()
# Note: This requires libnl 3.1 or newer.
#CONFIG_VLAN_NETLINK=y
# Remove support for dumping internal state through control interface commands
# This can be used to reduce binary size at the cost of disabling a debugging
# option.
#CONFIG_NO_DUMP_STATE=y
# Enable tracing code for developer debugging
# This tracks use of memory allocations and other registrations and reports
# incorrect use with a backtrace of call (or allocation) location.
#CONFIG_WPA_TRACE=y
# For BSD, comment out these.
#LIBS += -lexecinfo
#LIBS_p += -lexecinfo
#LIBS_c += -lexecinfo
# Use libbfd to get more details for developer debugging
# This enables use of libbfd to get more detailed symbols for the backtraces
# generated by CONFIG_WPA_TRACE=y.
#CONFIG_WPA_TRACE_BFD=y
# For BSD, comment out these.
#LIBS += -lbfd -liberty -lz
#LIBS_p += -lbfd -liberty -lz
#LIBS_c += -lbfd -liberty -lz
# hostapd depends on strong random number generation being available from the
# operating system. os_get_random() function is used to fetch random data when
# needed, e.g., for key generation. On Linux and BSD systems, this works by
# reading /dev/urandom. It should be noted that the OS entropy pool needs to be
# properly initialized before hostapd is started. This is important especially
# on embedded devices that do not have a hardware random number generator and
# may by default start up with minimal entropy available for random number
# generation.
#
# As a safety net, hostapd is by default trying to internally collect
# additional entropy for generating random data to mix in with the data
# fetched from the OS. This by itself is not considered to be very strong, but
# it may help in cases where the system pool is not initialized properly.
# However, it is very strongly recommended that the system pool is initialized
# with enough entropy either by using hardware assisted random number
# generator or by storing state over device reboots.
#
# hostapd can be configured to maintain its own entropy store over restarts to
# enhance random number generation. This is not perfect, but it is much more
# secure than using the same sequence of random numbers after every reboot.
# This can be enabled with -e<entropy file> command line option. The specified
# file needs to be readable and writable by hostapd.
#
# If the os_get_random() is known to provide strong random data (e.g., on
# Linux/BSD, the board in question is known to have reliable source of random
# data from /dev/urandom), the internal hostapd random pool can be disabled.
# This will save some in binary size and CPU use. However, this should only be
# considered for builds that are known to be used on devices that meet the
# requirements described above.
#CONFIG_NO_RANDOM_POOL=y
# Select TLS implementation
# openssl = OpenSSL (default)
# gnutls = GnuTLS
# internal = Internal TLSv1 implementation (experimental)
# none = Empty template
#CONFIG_TLS=openssl
# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.1)
# can be enabled to get a stronger construction of messages when block ciphers
# are used.
#CONFIG_TLSV11=y
# TLS-based EAP methods require at least TLS v1.0. Newer version of TLS (v1.2)
# can be enabled to enable use of stronger crypto algorithms.
#CONFIG_TLSV12=y
# If CONFIG_TLS=internal is used, additional library and include paths are
# needed for LibTomMath. Alternatively, an integrated, minimal version of
# LibTomMath can be used. See beginning of libtommath.c for details on benefits
# and drawbacks of this option.
#CONFIG_INTERNAL_LIBTOMMATH=y
#ifndef CONFIG_INTERNAL_LIBTOMMATH
#LTM_PATH=/usr/src/libtommath-0.39
#CFLAGS += -I$(LTM_PATH)
#LIBS += -L$(LTM_PATH)
#LIBS_p += -L$(LTM_PATH)
#endif
# At the cost of about 4 kB of additional binary size, the internal LibTomMath
# can be configured to include faster routines for exptmod, sqr, and div to
# speed up DH and RSA calculation considerably
#CONFIG_INTERNAL_LIBTOMMATH_FAST=y
# Interworking (IEEE 802.11u)
# This can be used to enable functionality to improve interworking with
# external networks.
#CONFIG_INTERWORKING=y
# Hotspot 2.0
#CONFIG_HS20=y
# Enable SQLite database support in hlr_auc_gw, EAP-SIM DB, and eap_user_file
#CONFIG_SQLITE=y
# Testing options
# This can be used to enable some testing options (see also the example
# configuration file) that are really useful only for testing clients that
# connect to this hostapd. These options allow, for example, to drop a
# certain percentage of probe requests or auth/(re)assoc frames.
#
#CONFIG_TESTING_OPTIONS=y
# Automatic Channel Selection
# This will allow hostapd to pick the channel automatically when channel is set
# to "acs_survey" or "0". Eventually, other ACS algorithms can be added in
# similar way.
#
# Automatic selection is currently only done through initialization, later on
# we hope to do background checks to keep us moving to more ideal channels as
# time goes by. ACS is currently only supported through the nl80211 driver and
# your driver must have survey dump capability that is filled by the driver
# during scanning.
#
# You can customize the ACS survey algorithm with the hostapd.conf variable
# acs_num_scans.
#
# Supported ACS drivers:
# * ath9k
# * ath5k
# * ath10k
#
# For more details refer to:
# http://wireless.kernel.org/en/users/Documentation/acs
#
#CONFIG_ACS=y

View File

@@ -0,0 +1,48 @@
#
# orangepi hostapd configuration example
#
# nl80211 mode
#
ssid=OrangePi
interface=wlan0
hw_mode=g
channel=5
bridge=br0
driver=nl80211
logger_syslog=0
logger_syslog_level=0
wmm_enabled=1
wpa=2
preamble=1
wpa_psk=66eb31d2b48d19ba216f2e50c6831ee11be98e2fa3a8075e30b866f4a5ccda27
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0
### IEEE 802.11n
#ieee80211n=1
#ht_capab=
#country_code=US
#ieee80211d=1
### IEEE 802.11n
### IEEE 802.11a
#hw_mode=a
### IEEE 802.11a
### IEEE 802.11ac
#ieee80211ac=1
#vht_capab=[MAX-MPDU-11454][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][MAX-A-MPDU-LEN-EXP3]
#vht_oper_chwidth=1
#vht_oper_centr_freq_seg0_idx=42
### IEEE 802.11ac
# controlling enabled
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0

View File

@@ -0,0 +1,56 @@
Source: wpa
Maintainer: Debian wpasupplicant Maintainers <pkg-wpa-devel@lists.alioth.debian.org>
Uploaders:
Stefan Lippers-Hollmann <s.l-h@gmx.de>,
Jan Dittberner <jandd@debian.org>,
Andrew Shadura <andrewsh@debian.org>
Section: net
Priority: optional
Build-Depends: debhelper (>> 9.20120115),
libdbus-1-dev,
libssl-dev,
libncurses5-dev,
libpcsclite-dev,
libnl-3-dev [linux-any],
libnl-genl-3-dev [linux-any],
libnl-route-3-dev [linux-any],
libpcap-dev [kfreebsd-any],
libbsd-dev [kfreebsd-any],
libreadline-dev,
pkg-config,
docbook-to-man,
docbook-utils
Standards-Version: 3.9.6
Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/wpa.git
Vcs-Git: https://anonscm.debian.org/git/collab-maint/wpa.git
Homepage: http://w1.fi/wpa_supplicant/
Package: hostapd
Architecture: linux-any kfreebsd-any
Multi-Arch: foreign
Depends: ${shlibs:Depends},
${misc:Depends},
lsb-base
Breaks: initscripts (<< 2.88dsf-13.3)
Provides: hostapd
Conflicts: hostapd, hostapd-realtek, orangepi-hostapd
Replaces: hostapd, hostapd-realtek, orangepi-hostapd
Description: IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
Originally, hostapd was an optional user space component for Host AP
driver. It adds more features to the basic IEEE 802.11 management
included in the kernel driver: using external RADIUS authentication
server for MAC address based access control, IEEE 802.1X Authenticator
and dynamic WEP keying, RADIUS accounting, WPA/WPA2 (IEEE 802.11i/RSN)
Authenticator and dynamic TKIP/CCMP keying.
.
The current version includes support for other drivers, an integrated
EAP authenticator (i.e., allow full authentication without requiring
an external RADIUS authentication server), and RADIUS authentication
server for EAP authentication.
.
hostapd works with the following drivers:
.
* mac80211 based drivers with support for master mode [linux]
* Host AP driver for Prism2/2.5/3 [linux]
* Driver interface for FreeBSD net80211 layer [kfreebsd]
* Any wired Ethernet driver for wired IEEE 802.1X authentication.

View File

@@ -0,0 +1,422 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: hostapd
Upstream-Contact: Jouni Malinen <j@w1.fi>
Source: git://w1.fi/srv/git/hostap.git
Files: *
Copyright: 2002-2014, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: hostapd/logwatch/*
Copyright: 2005, Henrik Brix Andersen <brix@gentoo.org>
License: BSD-3-clause or GPL-2
Files: hostapd/Android.mk
Copyright: 2008, The Android Open Source Project
License: BSD-3-clause
Files: hostapd/hostapd.8
hostapd/hostapd_cli.1
Copyright: 2005, Faidon Liambotis <faidon@cube.gr>
License: BSD-3-clause
Files: hs20/*
Copyright: 2012-2014, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: patches/*
Copyright: 2005, Alexey Kobozev <akobozev@cisco.com>
2005-2012, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/ap/acs.*
Copyright: 2011, Atheros Communications
2013, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/ap/ap_list.*
src/ap/ap_mlme.*
src/ap/beacon.*
src/ap/hw_features.*
src/ap/vlan_init.*
src/ap/wmm.*
Copyright: 2002-2009, Jouni Malinen <j@w1.fi>
2002-2004, Instant802 Networks, Inc.
2005-2006, Devicescape Software, Inc.
License: BSD-3-clause
Files: src/ap/dfs.*
Copyright: 2002-2013, Jouni Malinen <j@w1.fi>
2013, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/ap/gas_serv.*
src/ap/wnm_ap.*
src/common/ieee802_1x_defs.h
src/common/qca-vendor*
Copyright: 2011-2014, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/ap/hs20.*
wpa_supplicant/hs20_supplicant.*
Copyright: 2009, Atheros Communications, Inc.
2011-2013, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/ap/ieee802_11_ht.c
Copyright: 2002-2009, Jouni Malinen <j@w1.fi>
2007-2008, Intel Corporation
License: BSD-3-clause
Files: src/ap/p2p_hostapd.*
Copyright: 2009-2010, Atheros Communications
License: BSD-3-clause
Files: src/ap/vlan_util.*
Copyright: 2012, Michael Braun <michael-dev@fami-braun.de>
License: BSD-3-clause
Files: src/common/gas.*
Copyright: 2009, Atheros Communications
2011-2012, Qualcomm Atheros
License: BSD-3-clause
Files: src/common/ieee802_11_defs.h
Copyright: 2002-2009, Jouni Malinen <j@w1.fi>
2007-2008, Intel Corporation
License: BSD-3-clause
Files: src/common/wpa_helpers.*
Copyright: 2010-2011, Atheros Communications, Inc.
2011-2012, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/crypto/aes-internal*
Copyright: 2000, Vincent Rijmen <vincent.rijmen@esat.kuleuven.ac.be>
2000, Antoon Bosselaers <antoon.bosselaers@esat.kuleuven.ac.be>
2000, Paulo Barreto <paulo.barreto@terra.com.br>
2003-2012, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/crypto/des-internal.c
Copyright: 2005, Tom St Denis <tomstdenis@gmail.com>
2006-2009, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/crypto/md4-internal.c
Copyright: 1993, Colin Plumb
2004, Todd C. Miller
2006, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/crypto/md5-internal.c
Copyright: 1993, Colin Plumb
2003-2005, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/crypto/sha1-internal.c
Copyright: 1998, Steve Reid <sreid@sea-to-sky.net>
1998, James H. Brown <jbrown@burgoyne.com>
2001, Saul Kravitz <Saul.Kravitz@celera.com>
2001-2005, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/drivers/driver_atheros.c
Copyright: 2004, Sam Leffler <sam@errno.com>
2004, Video54 Technologies
2005-2007, Jouni Malinen <j@w1.fi>
2009, Atheros Communications
License: BSD-3-clause
Files: src/drivers/driver_bsd.c
Copyright: 2004, Sam Leffler <sam@errno.com>
2004, 2Wire, Inc
License: BSD-3-clause
Files: src/drivers/driver_macsec_qca.c
Copyright: 2004, Gunter Burchardt <tira@isx.de>
2005-2009, Jouni Malinen <j@w1.fi>
2013-2014, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/drivers/driver_madwifi.c
Copyright: 2004, Sam Leffler <sam@errno.com>
2004, Video54 Technologies
2004-2007, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/drivers/driver_nl80211.c
Copyright: 2002-2014, Jouni Malinen <j@w1.fi>
2003-2004, Instant802 Networks, Inc.
2005-2006, Devicescape Software, Inc.
2007, Johannes Berg <johannes@sipsolutions.net>
2009-2010, Atheros Communications
License: BSD-3-clause
Files: src/drivers/driver_none.c
Copyright: 2008, Atheros Communications
License: BSD-3-clause
Files: src/drivers/driver_openbsd.c
Copyright: 2013, Mark Kettenis <mark.kettenis@xs4all.nl>
License: BSD-3-clause
Files: src/drivers/driver_roboswitch.c
Copyright: 2008-2009, Jouke Witteveen
License: BSD-3-clause
Files: src/drivers/driver_wired.c
Copyright: 2005-2009, Jouni Malinen <j@w1.fi>
2004, Gunter Burchardt <tira@isx.de>
License: BSD-3-clause
Files: src/drivers/nl80211_copy.h
Copyright: 2006-2010, Johannes Berg <johannes@sipsolutions.net>
2008, Michael Wu <flamingice@sourmilk.net>
2008, Luis Carlos Cobo <luisca@cozybit.com>
2008, Michael Buesch <m@bues.ch>
2008-2009, Luis R. Rodriguez <lrodriguez@atheros.com>
2008, Jouni Malinen <jouni.malinen@atheros.com>
2008, Colin McCabe <colin@cozybit.com>
License: ISC
Files: src/eap_common/eap_pwd_common.*
src/eap_peer/eap_pwd.c
src/eap_server/eap_server_pwd.c
Copyright: 2010, Dan Harkins <dharkins@lounge.org>
License: BSD-3-clause
Files: src/eap_peer/eap_proxy*
Copyright: 2011-2013 Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/l2_packet/l2_packet_freebsd.c
Copyright: 2003-2005, Jouni Malinen <j@w1.fi>
2005, Sam Leffler <sam@errno.com>
License: BSD-3-clause
Files: src/p2p/*
Copyright: 2009-2010, Atheros Communications
License: BSD-3-clause
Files: src/pae/*
Copyright: 2013-2014, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/rsn_supp/tdls.c
Copyright: 2010-2011, Atheros Communications
License: BSD-3-clause
Files: src/tls/libtommath.c
Copyright: 2005-2007, Tom St Denis <tomstdenis@gmail.com>
License: public-domain
Files: src/utils/browser*
src/utils/http*
src/utils/xml*
Copyright: 2012-2014, Qualcomm Atheros, Inc.
License: BSD-3-clause
Files: src/utils/radiotap.c
Copyright: 2007, Andy Green <andy@warmcat.com>
2009, Johannes Berg <johannes@sipsolutions.net>
License: BSD-3-clause
Files: src/utils/radiotap.h
Copyright: 2003-2004, David Young
License: BSD-3-clause
Files: src/wps/http.h
src/wps/upnp_xml.*
src/wps/wps_upnp.*
src/wps/wps_upnp_event.c
src/wps/wps_upnp_i.h
src/wps/wps_upnp_ssdp.c
src/wps/wps_upnp_web.c
Copyright: 2000-2003, Intel Corporation
2006-2007, Sony Corporation
2008-2009, Atheros Communications
2009, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: src/wps/httpread.*
Copyright: 2008, Ted Merrill, Atheros Communications
License: BSD-3-clause
Files: src/wps/ndef.c
Copyright: 2009-2012, Masashi Honma <honma@ictec.co.jp>
License: BSD-3-clause
Files: src/wps/wps_validate.c
Copyright: 2010, Atheros Communications, Inc.
License: BSD-3-clause
Files: wpa_supplicant/dbus/dbus_common.*
wpa_supplicant/dbus/dbus_common_i.h
wpa_supplicant/dbus/dbus_new.*
wpa_supplicant/dbus/dbus_new_handlers.*
wpa_supplicant/dbus/dbus_new_handlers_wps.c
wpa_supplicant/dbus/dbus_new_helpers.*
wpa_supplicant/dbus/dbus_new_introspect.c
Copyright: 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
2009-2010, Witold Sowa <witold.sowa@gmail.com>
2009-2010, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: wpa_supplicant/dbus/dbus_dict_helpers.*
wpa_supplicant/dbus/dbus_old*
Copyright: 2006, Dan Williams <dcbw@redhat.com> and Red Hat, Inc.
License: BSD-3-clause
Files: wpa_supplicant/dbus/dbus_new_handlers_p2p.*
wpa_supplicant/examples/p2p/*
wpa_supplicant/examples/dbus-listen-preq.py
Copyright: 2011-2012, Intel Corporation
License: BSD-3-clause
Files: wpa_supplicant/utils/log2pcap.py
Copyright: Johannes Berg <johannes@sipsolutions.net>, Intel Corporation
License: BSD-3-clause
Files: wpa_supplicant/wpa_gui-qt4/icons/ap.svg
Copyright: 2008, mystica
License: public-domain
Files: wpa_supplicant/wpa_gui-qt4/icons/group.svg
Copyright: 2009, Andrew Fitzsimon / Anonymous
License: public-domain
Files: wpa_supplicant/wpa_gui-qt4/icons/invitation.svg
Copyright: 2009, Jean Victor Balin
License: public-domain
Files: wpa_supplicant/wpa_gui-qt4/icons/laptop.svg
Copyright: 2008, metalmarious
License: public-domain
Files: wpa_supplicant/wpa_gui-qt4/icons/wpa_gui.svg
Copyright: 2008, Bernard Gray <bernard.gray@gmail.com>
License: BSD-3-clause or GPL-2
Files: wpa_supplicant/wpa_gui-qt4/peers.*
wpa_supplicant/wpa_gui-qt4/stringquery.*
Copyright: 2009-2010, Atheros Communications
License: BSD-3-clause
Files: wpa_supplicant/wpa_gui-qt4/signalbar.*
Copyright: 2011, Kel Modderman <kel@otaku42.de>
License: BSD-3-clause
Files: wpa_supplicant/Android.mk
wpa_supplicant/wpa_supplicant_conf.*
Copyright: 2008-2010, The Android Open Source Project
License: BSD-3-clause
Files: wpa_supplicant/ap.*
Copyright: 2003-2009, Jouni Malinen <j@w1.fi>
2009, Atheros Communications
License: BSD-3-clause
Files: wpa_supplicant/autoscan*
Copyright: 2012, Intel Corporation
License: BSD-3-clause
Files: wpa_supplicant/gas_query.*
wpa_supplicant/offchannel.*
wpa_supplicant/p2p_supplicant.*
wpa_supplicant/wifi_display.*
Copyright: 2009-2011, Atheros Communications
2011-2014, Qualcomm Atheros
2011-2014, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: wpa_supplicant/interworking.*
wpa_supplicant/wnm_sta.*
wpa_supplicant/wpas_kay.*
Copyright: 2011-2014, Qualcomm Atheros
2011-2014, Jouni Malinen <j@w1.fi>
License: BSD-3-clause
Files: debian/*
Copyright: 2004-2006, Kyle McMartin <kyle@debian.org>
2005-2009, Faidon Liambotis <paravoid@debian.org>
2006-2008, Reinhard Tartler <siretart@tauware.de>
2006-2012, Kel Modderman <kel@otaku42.de>
2010, Jan Dittberner <jandd@debian.org>
2010-2014, Stefan Lippers-Hollmann <s.l-h@gmx.de>
License: BSD-3-clause
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
.
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
.
3. Neither the name(s) of the above-listed copyright holder(s) nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
License: GPL-2
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.
.
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, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
.
On Debian GNU/Linux systems, the complete text of the GNU General Public
License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
.
Note that this distribution of hostapd comes with configuration options that
link it to the OpenSSL library. The OpenSSL license is GPL-incompatible,
therefore in this distribution only the BSD license applies.
License: ISC
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
License: public-domain
Minimal code for RSA support from LibTomMath 0.41
http://libtom.org/
http://libtom.org/files/ltm-0.41.tar.bz2
This library was released in public domain by Tom St Denis.
.
The combination in this file may not use all of the optimized algorithms
from LibTomMath and may be considerable slower than the LibTomMath with its
default settings. The main purpose of having this version here is to make it
easier to build bignum.c wrapper without having to install and build an
external library.

View File

@@ -0,0 +1,38 @@
hostapd for Debian
------------------
This package provides two methods for managing hostapd process(es); an
initscript and an ifupdown hook. Both methods require creation of a
hostapd daemon configuration file (eg. /etc/hostapd/hostapd.conf) to
function correctly.
An example hostapd.conf may be used as a template but _must_ be edited
to suit your local configuration. An example is located at:
/usr/share/doc/hostapd/examples/hostapd.conf.gz
To use the example as a template:
# zcat /usr/share/doc/hostapd/examples/hostapd.conf.gz > \
/etc/hostapd/hostapd.conf
# $EDITOR /etc/hostapd/hostapd.conf
To use the initscript method of starting a hostapd daemon see
/etc/default/hostapd.
To use the ifupdown method, the path to hostapd configuration file can
be specified in a network interfaces configuration stanza in
/etc/network/interfaces like so:
iface eth1 inet static
hostapd /etc/hostapd/hostapd.conf
...
The hostapd process will be started in the pre-up phase of ifup, and be
terminated in the post-down phase of ifdown.
-- Kel Modderman <kel@otaku42.de> Tue, 27 Oct 2009 12:03:01 +1000
Please note:
* If you want to use hostapd with a Prism2/2.5/3 card in WPA mode, you'll need
STA firmware version >= 1.7.0.
-- Faidon Liambotis <faidon@cube.gr>, Mon, 10 Oct 2005 14:57:11 +0300

View File

@@ -0,0 +1,20 @@
# Defaults for hostapd initscript
#
# See /usr/share/doc/hostapd/README.Debian for information about alternative
# methods of managing hostapd.
#
# Uncomment and set DAEMON_CONF to the absolute path of a hostapd configuration
# file and hostapd will be started during system boot. An example configuration
# file can be found at /usr/share/doc/hostapd/examples/hostapd.conf.gz
#
#DAEMON_CONF="/etc/hostapd.conf"
# Additional daemon options to be appended to hostapd command:-
# -d show more debug messages (-dd for even more)
# -K include key data in debug messages
# -t include timestamps in some debug messages
#
# Note that -B (daemon mode) and -P (pidfile) options are automatically
# configured by the init.d script and must not be added to DAEMON_OPTS.
#
#DAEMON_OPTS=""

View File

@@ -0,0 +1,6 @@
hostapd/hostapd.accept
hostapd/hostapd.conf
hostapd/hostapd.deny
hostapd/hostapd.eap_user
hostapd/hostapd.radius_clients
hostapd/hostapd.wpa_psk

View File

@@ -0,0 +1,67 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: hostapd
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Should-Start: $network
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Advanced IEEE 802.11 management daemon
# Description: Userspace IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP
# Authenticator
### END INIT INFO
PATH=/sbin:/bin:/usr/sbin:/usr/bin
DAEMON_SBIN=/usr/sbin/hostapd
DAEMON_DEFS=/etc/default/hostapd
DAEMON_CONF=
NAME=hostapd
DESC="advanced IEEE 802.11 management"
PIDFILE=/run/hostapd.pid
[ -x "$DAEMON_SBIN" ] || exit 0
[ -s "$DAEMON_DEFS" ] && . /etc/default/hostapd
[ -n "$DAEMON_CONF" ] || exit 0
DAEMON_OPTS="-B -P $PIDFILE $DAEMON_OPTS $DAEMON_CONF"
. /lib/lsb/init-functions
case "$1" in
start)
log_daemon_msg "Starting $DESC" "$NAME"
start-stop-daemon --start --oknodo --quiet --exec "$DAEMON_SBIN" \
--pidfile "$PIDFILE" -- $DAEMON_OPTS >/dev/null
log_end_msg "$?"
;;
stop)
log_daemon_msg "Stopping $DESC" "$NAME"
start-stop-daemon --stop --oknodo --quiet --exec "$DAEMON_SBIN" \
--pidfile "$PIDFILE"
log_end_msg "$?"
;;
reload)
log_daemon_msg "Reloading $DESC" "$NAME"
start-stop-daemon --stop --signal HUP --exec "$DAEMON_SBIN" \
--pidfile "$PIDFILE"
log_end_msg "$?"
;;
restart|force-reload)
$0 stop
sleep 8
$0 start
;;
status)
status_of_proc "$DAEMON_SBIN" "$NAME"
exit $?
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload|reload|status}" >&2
exit 1
;;
esac
exit 0

View File

@@ -0,0 +1,2 @@
hostapd/hostapd usr/sbin/
hostapd/hostapd_cli usr/sbin/

View File

@@ -0,0 +1,2 @@
etc/hostapd/ifupdown.sh /etc/network/if-pre-up.d/hostapd
etc/hostapd/ifupdown.sh /etc/network/if-post-down.d/hostapd

View File

@@ -0,0 +1,3 @@
# We distribute the package under the terms of the BSD license due to the
# openssl issue, tell lintian to not complain:
hostapd binary: possible-gpl-code-linked-with-openssl

View File

@@ -0,0 +1,2 @@
hostapd/hostapd.8
hostapd/hostapd_cli.1

View File

@@ -0,0 +1,30 @@
#!/bin/sh
set -e
rm_conffile() {
local PKGNAME="$1"
local CONFFILE="$2"
[ -e "$CONFFILE" ] || return 0
local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')"
local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \
sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")"
if [ "$md5sum" = "$old_md5sum" ]; then
echo "Removing obsolete conffile $CONFFILE ..."
rm -f "$CONFFILE"
fi
}
case "$1" in
install|upgrade)
if dpkg --compare-versions "$2" le "1:0.6.9-3"; then
rm_conffile hostapd /etc/hostapd/hostapd.conf
fi
;;
esac
#DEBHELPER#
exit 0

View File

@@ -0,0 +1,146 @@
#!/bin/sh
# Copyright (C) 2006-2009 Debian hostapd maintainers
# Faidon Liambotis <paravoid@debian.org>
# Kel Modderman <kel@otaku42.de>
#
# 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 2
# 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.
#
# On Debian GNU/Linux systems, the text of the GPL license,
# version 2, can be found in /usr/share/common-licenses/GPL-2.
# quit if we're called for lo
if [ "$IFACE" = lo ]; then
exit 0
fi
if [ -n "$IF_HOSTAPD" ]; then
HOSTAPD_CONF="$IF_HOSTAPD"
else
exit 0
fi
HOSTAPD_BIN="/usr/sbin/hostapd"
HOSTAPD_PNAME="hostapd"
HOSTAPD_PIDFILE="/run/hostapd.$IFACE.pid"
HOSTAPD_OMIT_PIDFILE="/run/sendsigs.omit.d/hostapd.$IFACE.pid"
if [ ! -x "$HOSTAPD_BIN" ]; then
exit 0
fi
if [ "$VERBOSITY" = "1" ]; then
TO_NULL="/dev/stdout"
else
TO_NULL="/dev/null"
fi
hostapd_msg () {
case "$1" in
verbose)
shift
echo "$HOSTAPD_PNAME: $@" > "$TO_NULL"
;;
stderr)
shift
echo "$HOSTAPD_PNAME: $@" > /dev/stderr
;;
*)
;;
esac
}
test_hostapd_pidfile () {
if [ -n "$1" ] && [ -f "$2" ]; then
if start-stop-daemon --stop --quiet --signal 0 \
--exec "$1" --pidfile "$2"; then
return 0
else
rm -f "$2"
return 1
fi
else
return 1
fi
}
init_hostapd () {
HOSTAPD_OPTIONS="-B -P $HOSTAPD_PIDFILE $HOSTAPD_CONF"
HOSTAPD_MESSAGE="$HOSTAPD_BIN $HOSTAPD_OPTIONS"
test_hostapd_pidfile "$HOSTAPD_BIN" "$HOSTAPD_PIDFILE" && return 0
hostapd_msg verbose "$HOSTAPD_MESSAGE"
start-stop-daemon --start --oknodo --quiet --exec "$HOSTAPD_BIN" \
--pidfile "$HOSTAPD_PIDFILE" -- $HOSTAPD_OPTIONS > "$TO_NULL"
if [ "$?" -ne 0 ]; then
return "$?"
fi
HOSTAPD_PIDFILE_WAIT=0
until [ -s "$HOSTAPD_PIDFILE" ]; do
if [ "$HOSTAPD_PIDFILE_WAIT" -ge 5 ]; then
hostapd_msg stderr \
"timeout waiting for pid file creation"
return 1
fi
HOSTAPD_PIDFILE_WAIT=$(($HOSTAPD_PIDFILE_WAIT + 1))
sleep 1
done
cat "$HOSTAPD_PIDFILE" > "$HOSTAPD_OMIT_PIDFILE"
return 0
}
kill_hostapd () {
HOSTAPD_MESSAGE="stopping $HOSTAPD_PNAME via pidfile: $HOSTAPD_PIDFILE"
test_hostapd_pidfile "$HOSTAPD_BIN" "$HOSTAPD_PIDFILE" || return 0
hostapd_msg verbose "$HOSTAPD_MESSAGE"
start-stop-daemon --stop --oknodo --quiet --exec "$HOSTAPD_BIN" \
--pidfile "$HOSTAPD_PIDFILE" > "$TO_NULL"
[ "$HOSTAPD_OMIT_PIDFILE" ] && rm -f "$HOSTAPD_OMIT_PIDFILE"
}
case "$MODE" in
start)
case "$PHASE" in
pre-up)
init_hostapd || exit 1
;;
*)
hostapd_msg stderr "unknown phase: \"$PHASE\""
exit 1
;;
esac
;;
stop)
case "$PHASE" in
post-down)
kill_hostapd
;;
*)
hostapd_msg stderr "unknown phase: \"$PHASE\""
exit 1
;;
esac
;;
*)
hostapd_msg stderr "unknown mode: \"$MODE\""
exit 1
;;
esac
exit 0

View File

@@ -0,0 +1,46 @@
From e4b48b7b0f0a9370032945a5a0423f0da2ef6616 Mon Sep 17 00:00:00 2001
From: Avraham Stern <avraham.stern@intel.com>
Date: Thu, 27 Oct 2016 15:18:29 +0300
Subject: [PATCH] Extend ieee80211_freq_to_channel_ext() to cover channels
52-64
Add frequency to channel conversion for the 5 GHz channels 52-64.
Signed-off-by: Avraham Stern <avraham.stern@intel.com>
---
src/common/ieee802_11_common.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/src/common/ieee802_11_common.c b/src/common/ieee802_11_common.c
index 603b961..26e08b7 100644
--- a/src/common/ieee802_11_common.c
+++ b/src/common/ieee802_11_common.c
@@ -823,6 +823,25 @@ enum hostapd_hw_mode ieee80211_freq_to_channel_ext(unsigned int freq,
return HOSTAPD_MODE_IEEE80211A;
}
+ /* 5 GHz, channels 52..64 */
+ if (freq >= 5260 && freq <= 5320) {
+ if ((freq - 5000) % 5)
+ return NUM_HOSTAPD_MODES;
+
+ if (vht_opclass)
+ *op_class = vht_opclass;
+ else if (sec_channel == 1)
+ *op_class = 119;
+ else if (sec_channel == -1)
+ *op_class = 120;
+ else
+ *op_class = 118;
+
+ *channel = (freq - 5000) / 5;
+
+ return HOSTAPD_MODE_IEEE80211A;
+ }
+
/* 5 GHz, channels 149..169 */
if (freq >= 5745 && freq <= 5845) {
if ((freq - 5000) % 5)
--
2.9.3

View File

@@ -0,0 +1,58 @@
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -3411,6 +3411,10 @@ static int hostapd_config_fill(struct hostapd_config *conf,
bss->ieee80211w = 1;
#endif /* CONFIG_OCV */
#ifdef CONFIG_IEEE80211N
+ } else if (os_strcmp(buf, "noscan") == 0) {
+ conf->noscan = atoi(pos);
+ } else if (os_strcmp(buf, "ht_coex") == 0) {
+ conf->no_ht_coex = !atoi(pos);
} else if (os_strcmp(buf, "ieee80211n") == 0) {
conf->ieee80211n = atoi(pos);
} else if (os_strcmp(buf, "ht_capab") == 0) {
--- a/src/ap/ap_config.h
+++ b/src/ap/ap_config.h
@@ -932,6 +932,8 @@ struct hostapd_config {
int ht_op_mode_fixed;
u16 ht_capab;
+ int noscan;
+ int no_ht_coex;
int ieee80211n;
int secondary_channel;
int no_pri_sec_switch;
--- a/src/ap/hw_features.c
+++ b/src/ap/hw_features.c
@@ -477,7 +477,8 @@ static int ieee80211n_check_40mhz(struct
int ret;
/* Check that HT40 is used and PRI / SEC switch is allowed */
- if (!iface->conf->secondary_channel || iface->conf->no_pri_sec_switch)
+ if (!iface->conf->secondary_channel || iface->conf->no_pri_sec_switch ||
+ iface->conf->noscan)
return 0;
hostapd_set_state(iface, HAPD_IFACE_HT_SCAN);
--- a/src/ap/ieee802_11_ht.c
+++ b/src/ap/ieee802_11_ht.c
@@ -252,6 +252,9 @@ void hostapd_2040_coex_action(struct hos
return;
}
+ if (iface->conf->noscan || iface->conf->no_ht_coex)
+ return;
+
if (len < IEEE80211_HDRLEN + 2 + sizeof(*bc_ie)) {
wpa_printf(MSG_DEBUG,
"Ignore too short 20/40 BSS Coexistence Management frame");
@@ -412,6 +415,9 @@ void ht40_intolerant_add(struct hostapd_
if (iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G)
return;
+ if (iface->conf->noscan || iface->conf->no_ht_coex)
+ return;
+
wpa_printf(MSG_INFO, "HT: Forty MHz Intolerant is set by STA " MACSTR
" in Association Request", MAC2STR(sta->addr));

View File

@@ -0,0 +1,3 @@
session-ticket.patch
300-noscan.patch
0006-Extend-ieee80211_freq_to_channel_ext-to-cover-channe.patch

View File

@@ -0,0 +1,12 @@
diff --git a/src/crypto/tls_openssl.c b/src/crypto/tls_openssl.c
index 23ac64b48..cc8d159e0 100644
--- a/src/crypto/tls_openssl.c
+++ b/src/crypto/tls_openssl.c
@@ -1577,6 +1577,7 @@ struct tls_connection * tls_connection_init(void *ssl_ctx)
#ifdef SSL_OP_NO_COMPRESSION
options |= SSL_OP_NO_COMPRESSION;
#endif /* SSL_OP_NO_COMPRESSION */
+ options |= SSL_OP_NO_TICKET;
SSL_set_options(conn->ssl, options);
conn->ssl_in = BIO_new(BIO_s_mem());

View File

@@ -0,0 +1,64 @@
#!/usr/bin/make -f
# without "-relro,-pie" building on Stretch breaks
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
include /usr/share/dpkg/buildflags.mk
# The build system doesn't use CPPFLAGS, pass them to CFLAGS/CXXFLAGS to
# enable the missing (hardening) flags
DEB_CFLAGS_MAINT_APPEND = -MMD -Wall $(shell dpkg-buildflags --get CPPFLAGS)
DEB_CXXFLAGS_MAINT_APPEND = $(shell dpkg-buildflags --get CPPFLAGS)
DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_CFLAGS_MAINT_APPEND DEB_CXXFLAGS_MAINT_APPEND DEB_LDFLAGS_MAINT_APPEND
UCFLAGS = -MMD -Wall -g -Os -fPIC
BINDIR = /sbin
#V = 1
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
CC=$(DEB_HOST_GNU_TYPE)-gcc
endif
export CC BINDIR
VERSION := $(shell dpkg-parsechangelog | sed -ne 's,^Version: *\([0-9]*:\)\?\(.*\)$$,\2,p')
override_dh_auto_build:
# build hostapd
cp -v --remove-destination debian/config/config_default hostapd/.config
dh_auto_build --sourcedirectory=hostapd \
--buildsystem=makefile \
--parallel
dh_auto_clean --sourcedirectory=src --buildsystem=makefile
override_dh_auto_clean:
dh_auto_clean --sourcedirectory=hostapd \
--buildsystem=makefile
override_dh_auto_install:
$(info Skip dh_auto_install ...)
override_dh_clean:
dh_clean hostapd/.config
override_dh_install:
dh_install
install --mode=755 -D debian/ifupdown/hostapd.sh \
debian/hostapd/etc/hostapd/ifupdown.sh
install --mode=644 -D debian/config/hostapd.conf \
debian/hostapd/etc/hostapd.conf
override_dh_installchangelogs:
dh_installchangelogs --package=hostapd hostapd/ChangeLog
override_dh_builddeb:
dh_builddeb -- -Zxz -z6
### end dh overrides
%:
dh ${@} --parallel

View File

@@ -0,0 +1 @@
3.0 (quilt)

View File

@@ -0,0 +1,532 @@
htop (2.2.0-1) unstable; urgency=medium
* New upstream release 2.2.0
* Update uscan to v4 and add gpg verification of upstream tarball
* Drop patches that were merged upstream
* Remove OpenVZ patch that wasn't merged upstream
(for now, upstream issue 464)
* Add upstream issue 780 patch
* Fix compile issue with regenerated header files (patch)
* Update policy to 4.1.4 (no changes required)
-- Daniel Lange <DLange@debian.org> Thu, 26 Apr 2018 21:10:00 +0200
htop (2.1.0-3) unstable; urgency=medium
* Fix case of dyscalculia in changelog entry for 2.1.0-1
* Update Daniel Lange's email address
* Add debian/clean to remove autogenerated headers
* Refresh debian/patches/601-openvz-new-ctid-vpid.patch
* Fix issue with small terminals (Closes: #889693)
* Fix preservation of LDFLAGS value during configure script
* Handle unexpected values for character passed to isalnum
-- Graham Inggs <ginggs@debian.org> Sat, 17 Feb 2018 18:27:46 +0000
htop (2.1.0-2) unstable; urgency=medium
* Add missing build-dependency on pkg-config
-- Graham Inggs <ginggs@debian.org> Mon, 05 Feb 2018 16:59:56 +0000
htop (2.1.0-1) unstable; urgency=medium
[ Graham Inggs ]
* New upstream release 2.1.0 (Closes: #889634)
* Refresh debian/patches/601-openvz-new-ctid-vpid.patch
* Update Vcs-* URIs for move to salsa.debian.org
* Turn debhelper up to 11
* Update debian/copyright
* Remove trailing whitespace from debian/changelog
* Use secure URI in Homepage and debian/watch
* Bump Standards-Version to 4.1.3, no changes
[ Helmut Grohne ]
* Fix FTCBFS: Annotate python-minimal build dependency with :native.
(Closes: #864672)
-- Graham Inggs <ginggs@debian.org> Mon, 05 Feb 2018 13:22:25 +0000
htop (2.0.2-1) unstable; urgency=medium
* Update to upstream version 2.0.2
- Use SOURCE_DATE_EPOCH instead of current year in copyright message
to make build reproducible. (Closes: #822963)
- Fix build to detect the Hurd as a Linux platform. (Closes: #821747)
- Fix crash when setting CPU affinity and -fPIE. (LP: #1589549)
* Bump Standards to 3.9.8 (no changes required)
-- Daniel Lange <dl.ml1@usrlocal.de> Mon, 25 Jul 2016 19:46:17 +0200
htop (2.0.1-1) unstable; urgency=medium
* New upstream release 2.0.1. (Closes: #814401, #783893, #774930)
* Clean up patches from 1.0.3 -> 2.0.1
* Update compat -> 9, rules -> debhelper/9
* Update debian/copyright to copyright-format/1.0 (Closes: #749850)
* Add lsof as suggested (Closes: #817918)
* Change maintainership jackyf -> DLange, jackyf and ginggs will
co-maintain. Jackyf: Thank you very much for 8 years of htop
maintenance!
-- Daniel Lange <dl.ml1@usrlocal.de> Thu, 14 Apr 2016 10:25:45 +0200
htop (1.0.3-1) unstable; urgency=low
* New upstream release.
* debian/watch:
- Updated to use new download location (http://hisham.hm/htop/releases).
* debian/patches:
- 600-openvz-veid-on-kernels-gt-2.6.18.patch: refreshed.
- 610-io-priority-only-on-linux.patch: ported to new upstream version.
- 700-ltrace-support.patch: ported to new upstream version.
* debian/control:
- Bumped Standards-Version to 3.9.5, no changes needed.
- Updated Homepage to 'http://hisham.hm/htop/'.
-- Eugene V. Lyubimkin <jackyf@debian.org> Thu, 01 May 2014 13:16:56 +0300
htop (1.0.2-3) unstable; urgency=low
* debian/patches:
- New patch 610-io-priority-only-on-linux.patch which should fix building
on non-Linux kernels.
-- Eugene V. Lyubimkin <jackyf@debian.org> Sat, 05 Oct 2013 13:17:13 +0300
htop (1.0.2-2) unstable; urgency=low
* Upload to unstable.
-- Eugene V. Lyubimkin <jackyf@debian.org> Sat, 29 Jun 2013 22:25:41 +0300
htop (1.0.2-1) experimental; urgency=low
* New upstream release.
- Ability to update process names on refreshes. (Closes: #475254)
- More precise value of CPU%. (Closes: #668410)
- Columns line up properly even when for more-than-5-digits process ids.
(Closes: #687280)
* debian/control:
- Bumped Standards-Version to 3.9.4, no changes needed.
* debian/patches:
- Deleted 200-dont-delete-htoprc-if-symlink.patch, applied upstream.
- 700-ltrace-support.patch: ported to new upstream version.
-- Eugene V. Lyubimkin <jackyf@debian.org> Sat, 01 Dec 2012 11:55:43 +0200
htop (1.0.1-4) unstable; urgency=low
* debian/rules:
- Retrieve and pass also CPPFLAGS and LDFLAGS. Patch by Simon Ruderich.
(Closes: #685670)
-- Eugene V. Lyubimkin <jackyf@debian.org> Sat, 01 Sep 2012 14:29:59 +0300
htop (1.0.1-3) unstable; urgency=low
* debian/rules:
- Retrieve CFLAGS from dpkg-buildflags as dpkg-buildpackage stopped to
export them. Thanks to Felix Geyer and Cyril Brulebois.
(Closes: #685670)
* debian/control:
- Build-depend on dpkg (>= 1.16.1) for using dpkg-buildflags.
-- Eugene V. Lyubimkin <jackyf@debian.org> Mon, 27 Aug 2012 19:51:54 +0300
htop (1.0.1-2) unstable; urgency=low
* debian/patches:
- New patch 200-dont-delete-htoprc-if-symlink.patch from upstream VCS.
(Closes: #662087)
-- Eugene V. Lyubimkin <jackyf@debian.org> Mon, 30 Jul 2012 19:12:16 +0300
htop (1.0.1-1) unstable; urgency=low
* New upstream release.
- Don't crash when trying to kill already finished process.
(Closes: #652563, 657675)
-- Eugene V. Lyubimkin <jackyf@debian.org> Sun, 19 Feb 2012 10:24:46 +0200
htop (1.0-1) unstable; urgency=low
* New upstream release.
- Don't die after a terminal resize. (Closes: #464852)
- Don't abort when a number of processes are removed from the list at
once. (Closes: #541417)
- Fixed the inconsistency in the documentation about "[" and "]" keys.
(Closes: #610329)
* debian/patches:
- 100-fix-cgroups-crash.patch: deleted, upstream fixed it in a different
way.
- 600-openvz-veid-on-kernels-gt-2.6.18.patch: ported to new upstream
version.
- 700-ltrace-support.patch: ported to new upstream version.
- 700-ltrace-support.patch: ltrace hotkey is 'L', not 'l'.
* debian/control:
- Add libhwloc-dev to Build-Depends on non-linux architectures.
- Add libncursesw5-dev to Build-Depends, enabling unicode support.
* debian/rules:
- Enable native affinity functions on linux architectures and use hwloc
library everywhere else.
* debian/copyright:
- Updated upstream copyright years.
-- Eugene V. Lyubimkin <jackyf@debian.org> Sat, 26 Nov 2011 15:58:33 +0200
htop (0.9-4) unstable; urgency=low
* debian/rules:
- Added 'build-arch' and 'build-indep' targets as suggested by Lintian.
* debian/patches:
- New patch 100-fix-cgroups-crash.patch fixing a crash when htop receives
an unexpected input from a cgroups file. (Closes: #628040)
-- Eugene V. Lyubimkin <jackyf@debian.org> Wed, 21 Sep 2011 21:17:17 +0300
htop (0.9-3) unstable; urgency=low
* debian/rules:
- Enable cgroups support. (Closes: #627545)
* debian/README.source:
- added with standard instructions how to use quilt.
* debian/control:
- Fixed spelling as suggested by lintian.
- Bumped Standards-Version to 3.9.2, no changes needed.
-- Eugene V. Lyubimkin <jackyf@debian.org> Sun, 22 May 2011 12:05:09 +0300
htop (0.9-2) unstable; urgency=low
* Upload to unstable.
-- Eugene V. Lyubimkin <jackyf@debian.org> Sun, 13 Feb 2011 10:41:53 +0200
htop (0.9-1) experimental; urgency=low
* New upstream release. (Closes: #610229)
- Fixed by-process IO stats in some cases. (Closes: #526070)
- Do not display nan% as CPU load sometimes. (Closes: #590535)
* debian/patches:
- 600-openvz-veid-on-kernels-gt-2.6.18.patch: ported to new upstream
version.
- 700-ltrace-support.patch: refreshed.
* debian/control:
- Bumped Standards-Version to 3.9.1, no changes needed.
- Updated my mail address.
- Removed 'DM-Upload-Allowed' flag as not needed anymore.
* debian/copyright:
- Updated author copyright years.
* debian/watch:
- Removed 'uupdate' option, not needed for my workflow.
-- Eugene V. Lyubimkin <jackyf@debian.org> Sun, 16 Jan 2011 19:36:07 +0200
htop (0.8.3-1) unstable; urgency=low
* New upstream release:
- 0.8.2 (LP: #385862):
- Integrated lsof output. (Closes: #426003)
- Handling of absend CPU should work now. (Closes: #494057, #476273)
- Fixed a crash when sorting by USER column. (Closes: #526362)
- Fixed display of gigabyte-sized values.
- Fixed incremental search. (Closes: #521376)
- Option to display hostname in the meters area.
- 0.8.3
* debian/control:
- Suggested strace and ltrace. (Closes: #530449)
- Bumped Standards-Version to 3.8.2, no changes needed.
* debian/patches:
- 700-ltrace-support.patch: modified to not contradict with new upstream
release, the hotkey for ltrace output changed from 'l' to 'L'.
* debian/README:
- Added with note about ltrace support.
-- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Mon, 29 Jun 2009 13:08:39 +0300
htop (0.8.1+svn149-2) unstable; urgency=low
* debian/rules:
- Build with VServer support. (Closes: #522905)
-- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Fri, 17 Apr 2009 21:54:45 +0300
htop (0.8.1+svn149-1) unstable; urgency=low
* New upstream development snapshot:
- Allow building without PLPA support. (Closes: #521861)
* debian/patches:
- 010-make-desktop-file-valid.patch: deleted, merged upstream.
- 100-upstream-sort-by-processor-and-session.patch: deleted, merged
upstream.
- 110-upstream-fix-page-size-on-BSD.patch: deleted, merged upstream.
- 120-upstream-explain-cpu-bars-in-monochrome-mode.patch: deleted, merged
upstream.
- 200-filter-non-printable-characters.patch: deleted, upstream has own
version of this patch.
- 610-rename-veid-to-ctid.patch: deleted, merged upstream.
- 600-openvz-veid-on-kernels-gt-2.6.18.patch: refreshed.
- 800-tree-view-without-userland-threads.patch: deleted, merged upstream.
- 700-ltrace-support.patch: refreshed, added the description.
* debian/rules:
- Deal more robustly with config.{sub,guess} files, thanks to Roger Leigh.
-- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Sun, 05 Apr 2009 11:51:34 +0300
htop (0.8.1-6) unstable; urgency=low
* debian/patches:
- debian/patches/110-upstream-fix-page-size-on-BSD.patch was accidentally
incorrectly applied, causing zeroes in memory columns. Fixed.
* debian/rules:
- File Process.c somewhy is not regenerated during normal build process.
Regenerate it by hand.
-- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Sun, 29 Mar 2009 22:37:49 +0300
htop (0.8.1-5) unstable; urgency=low
* debian/patches:
- New 100-upstream-sort-by-processor-and-session.patch, cherry-picked from
upstream svn: allow sorting by 'processor' and 'session' columns.
(Closes: #501317)
- New debian/patches/110-upstream-fix-page-size-on-BSD.patch,
cherry-picked from upstream svn: fix page size on BSD systems.
(Closes: #485277)
- New debian/patches/120-upstream-explain-cpu-bars-in-monochrome-mode.patch,
cherry-picked from upstream svn: document meanings of chars in CPU bars
in monochrome mode. (Closes: #477222)
- 600-openvz-veid-on-kernels-gt-2.6.18.patch: added a description.
- 610-rename-veid-to-ctid.patch: added a description.
- 800-tree-view-without-userland-threads.patch: added a description.
* debian/control:
- Bump 'Standards-Version' to 3.8.1, no changes needed.
-- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Sun, 29 Mar 2009 19:49:53 +0300
htop (0.8.1-4) unstable; urgency=low
* debian/patches:
- New 600-openvz-veid-on-kernels-gt-2.6.18.patch: fix determining veid on
openvz-enabled kernels greater than 2.6.18. Patch by
Thorsten Schifferdecker <tsd@debian.systs.org>. (Closes: #516846)
- New 610-rename-veid-to-ctid.patch: openvz: renames 'veid' -> 'ctid' since
it's now a preferred term. Patch by
Thorsten Schifferdecker <tsd@debian.systs.org>. (Closes: #516847)
- New 700-ltrace-support.patch: add ltrace(1) support in addition to strace
support. Patch by <knotor@users.sourceforge.net>.
- New 800-tree-view-with-userland-threads.patch: patch to fix tree view when
userland threads are hidden, taken from Ubuntu.
-- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Mon, 02 Mar 2009 23:17:04 +0200
htop (0.8.1-3) unstable; urgency=low
* debian/rules:
- Don't ship empty directories in the package.
-- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Sun, 15 Feb 2009 13:56:41 +0200
htop (0.8.1-2) experimental; urgency=low
* Disabled unicode support, it has both build and work problems yet.
(Closes: #507423)
* debian/patches:
- New patch 200-filter-non-printable-characters.patch to filter
non-printable characters in process names. Thanks to Josh Triplett
and Andrew O. Shadoura. (Closes: #504144)
- 010-make-desktop-file-valid.patch: comment added.
* debian/control:
- Added '${misc:Depends}' to 'Depends', fixes lintian warning.
- Added 'python-minimal' to 'Build-Depends' for MakeHeader.py.
-- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Sat, 06 Dec 2008 11:03:18 +0200
htop (0.8.1-1) experimental; urgency=low
* New maintainer. Thanks for work, Bartosz Fenski!
* New upstream release:
- Changes in 0.8.1 (Closes: #499928):
- Linux-VServer support.
- Battery meter (Closes: #484771).
- Fixed collection of IO stats in multithreaded processes.
- Removed assertion that fails on hardened kernels.
- Changes in 0.8.0 (Closes: #494646, #486213):
- Ability to change sort column with the mouse by
clicking column titles.
- Added support for Linux per-process IO statistics.
- Added Unicode support.
- Fixed display of CPU count for threaded processes.
- Avoid crashing when using many meters.
- Other fixes:
- Significantly increased line length limit (to 65535).
(Closes: #470280)
* debian/control:
- Bumped 'Standards-Version' to 3.8.0, no changes needed.
- Changed Build-Depends on debhelper to (>= 7) and 'libncurses5-dev' ->
'libncursesw5-dev'. Added dependency on quilt (>= 0.40).
* debian/rules:
- Some cleanup, used debhelper v7 commands.
- Pass '--enable-taskstats' and '--enable-unicode' options to configure.
- Pass '--enable-openvz' to configure. (Closes: #480541)
* debian/patches:
- New 010-make-desktop-file-valid.patch: makes desktop file valid.
Thanks to Nathan Handler <nathan.handler@gmail.com> (Closes: #488912)
* debian/copyright:
- Fixed path for GPLv2 license.
* debian/menu:
- Set proper section, removed hint (now useless).
-- Eugene V. Lyubimkin <jackyf.devel@gmail.com> Sun, 16 Nov 2008 20:36:18 +0200
htop (0.7-1) unstable; urgency=low
* New upstrem version. (Closes: #452634)
* Move URL to homepage header.
* Bumped Standards-Version (no changes needed).
* Fixed watch file. (Closes: #449631)
-- Bartosz Fenski <fenio@debian.org> Sat, 26 Apr 2008 13:57:14 +0200
htop (0.6.6+svn20070915-1) unstable; urgency=low
* New upstream snapshot with dedication to Nico Golde
(Closes: #410398, #410391, #427127)
- fixes problems with trailing newline in confi (Closes: #420856)
- fixes segfault on missing command line args (Closes: #435651)
- fixes FTBS with GCC 4.3 branch (Closes: #416852)
-- Bartosz Fenski <fenio@debian.org> Sat, 15 Sep 2007 14:37:41 +0200
htop (0.6.3-1) unstable; urgency=low
* New upstream version.
- allows to rekill tagged group of processes (Closes: #375219)
* Bumped Standards-Version to 3.7.2 (no changes needed).
-- Bartosz Fenski <fenio@debian.org> Mon, 14 Aug 2006 13:03:15 +0200
htop (0.6.2-1) unstable; urgency=low
* New upstream version.
- doesn't segfault running as root. (Closes: #354258)
-- Bartosz Fenski <fenio@debian.org> Tue, 4 Jul 2006 07:53:58 +0200
htop (0.6-1) unstable; urgency=low
* New upstream version.
- doesn't show pipe when some value is equal to zero. (Closes: #325058)
- allows renicing group of processes. (Closes: #317391)
-- Bartosz Fenski <fenio@debian.org> Thu, 29 Dec 2005 13:22:07 +0100
htop (0.5.4-1) unstable; urgency=low
* New upstream version.
- does not leave cruft on console on exit. (Closes: #334657)
-- Bartosz Fenski <fenio@debian.org> Fri, 4 Nov 2005 17:25:27 +0100
htop (0.5.3-1) unstable; urgency=low
* New upstream version.
* Bumped Standards-Version to 3.6.2 (no changes needed).
-- Bartosz Fenski <fenio@debian.org> Tue, 20 Sep 2005 10:49:52 +0200
htop (0.5.2-1) unstable; urgency=low
* New upstream bugfix release.
-- Bartosz Fenski <fenio@debian.org> Wed, 8 Jun 2005 20:02:19 +0200
htop (0.5.1-1) unstable; urgency=low
* New upstream version.
- correctly honors limits for nice values (Closes: #291502)
-- Bartosz Fenski <fenio@debian.org> Sun, 10 Apr 2005 17:49:12 +0200
htop (0.5-2) unstable; urgency=low
* watch file changed a little to handle weird upstream versions
* s/fenio@o2.pl/fenio@debian.org/
-- Bartosz Fenski <fenio@debian.org> Thu, 7 Apr 2005 12:00:11 +0200
htop (0.5-1) unstable; urgency=low
* New upstream version.
- fixes problem with wrongly displayed CPU bar (Closes: #283212)
-- Bartosz Fenski <fenio@o2.pl> Sat, 27 Nov 2004 10:10:17 +0100
htop (0.4.1-3) unstable; urgency=low
* Fixed handling of non-alphanumeric chars during search.
Thanks to Gian Piero Carrubba for noticing it (Closes: #269060)
* Added description of recursive search of processes to the manpage.
Should be now clear how does it work so (Closes: #269061)
-- Bartosz Fenski <fenio@o2.pl> Tue, 31 Aug 2004 21:40:15 +0200
htop (0.4.1-2) unstable; urgency=low
* Included updated manpage. (Closes: #269064)
Thanks to Gian Piero Carrubba for provided patch.
-- Bartosz Fenski <fenio@o2.pl> Tue, 31 Aug 2004 21:08:13 +0200
htop (0.4.1-1) unstable; urgency=low
* New upstream version.
- fixes FTBFS on some archs (Closes: #268373)
-- Bartosz Fenski <fenio@o2.pl> Fri, 27 Aug 2004 14:01:11 +0200
htop (0.4-1) unstable; urgency=low
* New upstream version.
* Added debian/menu file.
-- Bartosz Fenski <fenio@o2.pl> Sun, 22 Aug 2004 13:09:12 +0200
htop (0.3.3-1) unstable; urgency=low
* New upstream version.
* Added debian/watch file.
-- Bartosz Fenski <fenio@o2.pl> Sun, 20 Jun 2004 10:33:13 +0200
htop (0.3.1-1) unstable; urgency=low
* New upstream version.
* Hopefully first official Debian release. (Closes: #248939)
Thanks for sponsoring goes to Cedric Delfosse.
* debian/rules:
- removed dh_installman, cause it's now included by upstream.
-- Bartosz Fenski <fenio@o2.pl> Mon, 31 May 2004 05:37:15 +0200
htop (0.3-1) unstable; urgency=low
* New upstream version.
-- Bartosz Fenski <fenio@o2.pl> Thu, 20 May 2004 01:15:05 +0200
htop (0.2.1-1) unstable; urgency=low
* New upstream version.
* Some updates to manual page.
-- Bartosz Fenski <fenio@o2.pl> Sat, 15 May 2004 10:15:03 +0200
htop (0.2-1) unstable; urgency=low
* Initial Release.
-- Bartosz Fenski <fenio@o2.pl> Fri, 14 May 2004 10:37:04 +0200

View File

@@ -0,0 +1,2 @@
*.h
*/*.h

View File

@@ -0,0 +1 @@
11

Some files were not shown because too many files have changed in this diff Show More