mirror of
https://github.com/QSCTech/zjunet.git
synced 2026-01-23 04:04:48 +08:00
build/debian/control
This commit is contained in:
parent
f08d54876b
commit
f83f102384
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.deb
|
||||||
@ -1,6 +1,19 @@
|
|||||||
VERSION=0.0.57
|
#!/bin/sh
|
||||||
PKG=zjunet-${VERSION}
|
|
||||||
mkdir -p ${PKG}
|
# bin
|
||||||
tar cvzf ${PKG}.tar.gz ../../lib/
|
mkdir -p ./debian/usr/bin
|
||||||
cd ${PKG}
|
cp -r ../../lib ./debian/usr
|
||||||
dh_make -e zenoofzeng@gmail.com -f ../${PKG}.tar.gz
|
echo '/usr/lib/zjunet/zjunet.sh "$@"' >> ./debian/usr/bin/zjunet
|
||||||
|
chmod +x ./debian/usr/bin/zjunet
|
||||||
|
|
||||||
|
# contorl file
|
||||||
|
mkdir -p debian/DEBIAN
|
||||||
|
find ./debian -type d | xargs chmod 755
|
||||||
|
cp control debian/DEBIAN
|
||||||
|
|
||||||
|
# dpkg-deb
|
||||||
|
dpkg-deb --build debian
|
||||||
|
mv debian.deb zjunet_0.1-1_all.deb
|
||||||
|
|
||||||
|
# remove debian/
|
||||||
|
rm -rf ./debian
|
||||||
|
|||||||
9
build/debian/control
Normal file
9
build/debian/control
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
Package: zjunet
|
||||||
|
Version: 0.1-1
|
||||||
|
Section: base
|
||||||
|
Priority: optional
|
||||||
|
Architecture: all
|
||||||
|
Depends: xl2tpd (>= 1.3.6), curl, iconv
|
||||||
|
Maintainer: Zeno Zeng <zenoofzeng@gmail.com>
|
||||||
|
Description: Command Line Scripts for ZJU
|
||||||
|
This script provides a VPN / WLAN / NEXTHOP for ZJUer.
|
||||||
Loading…
x
Reference in New Issue
Block a user