Last active
August 19, 2017 15:04
-
-
Save higebu/139c786fab3c88113d54eef16b462655 to your computer and use it in GitHub Desktop.
build vyatta-strongswan
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.zip binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# rm -f ../*.deb | |
# sudo mk-build-deps -i -r -t 'apt-get --no-install-recommends -yq' debian/control | |
# dpkg-buildpackage -b -us -uc -tc | |
DIST=squeeze | |
BASE_IMAGE=/var/cache/pbuilder/$DIST.tgz | |
DEBIAN_MIRROR=http://archive.debian.org/debian/ | |
# Import Squeeze Stable Release Key | |
sudo gpg --no-default-keyring \ | |
--keyring /usr/share/keyrings/debian-archive-keyring.gpg \ | |
--keyserver pgpkeys.mit.edu \ | |
--recv-key 64481591B98321F9 | |
# Create base chroot image | |
sudo EXTRAPACKAGES="apt-utils automake" pbuilder create --distribution $DIST \ | |
--mirror $DEBIAN_MIRROR \ | |
--debootstrapopts "--keyring=/usr/share/keyrings/debian-archive-keyring.gpg" \ | |
--basetgz $BASE_IMAGE | |
# Build package | |
pdebuild --use-pdebuild-internal --debbuildopts "-b -us -uc -tc" -- --basetgz $BASE_IMAGE | |
# Packages are created in /var/cache/pbuilder/result/ |
This file has been truncated, but you can view the full file.
Author
higebu
commented
Aug 19, 2017
vyos@vyos:~$ sudo dpkg -l | grep strongswan
ii libstrongswan 4.5.2-1.1-bpo60+vyos1+helium5 strongSwan utility and crypto library
ii strongswan 4.5.2-1.1-bpo60+vyos1+helium5 IPsec VPN solution metapackage
ii strongswan-ikev1 4.5.2-1.1-bpo60+vyos1+helium5 strongSwan Internet Key Exchange (v1) daemon
ii strongswan-ikev2 4.5.2-1.1-bpo60+vyos1+helium5 strongSwan Internet Key Exchange (v2) daemon
ii strongswan-starter 4.5.2-1.1-bpo60+vyos1+helium5 strongSwan daemon starter and configuration file parser
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment