/usr/bin/linux-wlan-ng-build-firmware-deb is in linux-wlan-ng-firmware 0.2.9+dfsg-6.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | #!/bin/bash
# copyright by Victor Seva <linuxmaniac@torreviejawireless.org>
# Enrico Tassi <gareuselesinge@users.sourceforge.net>
# License:
#
# 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 with
# the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
# if not, write to the Free Software Foundation, Inc., 59 Temple Place,
# Suite 330, Boston, MA 02111-1307 USA
#
# See /usr/share/common-licenses/GPL for the full text of the GPL.
DEBIAN="/usr/share/linux-wlan-ng-firmware/debian"
GIT=git://git.shaftnet.org/linux-wlan-ng.git
PWD="`pwd`"
my_temp=$(mktemp -d prism2-XXXXXX) || exit 1
cd $my_temp
# get upstream source and firmware tree
git clone --depth=1 $GIT upstream || exit 1
mv upstream/* .
# remove upstream directory
rm -rf upstream
# copy the proper debian directory for firmware package
cp -r "$DEBIAN" .
chmod a+rx debian/rules
dpkg-buildpackage -rfakeroot -us -uc
cd ..
rm -rf $my_temp
|