Commit eb2320db authored by Michał Siwek's avatar Michał Siwek

Merge #91 from titpetric

parents 08b75be4 65a9ed11
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
require 'package'
class Gnutls < Package
version '3.3.15'
source_url 'ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.15.tar.xz'
source_sha1 'd7f66b0aeaf48ff8621cc1913230635ef672f0a4'
depends_on 'buildessential'
depends_on 'nettle'
depends_on 'pkgconfig'
def self.build
system "./configure"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
......@@ -6,7 +6,7 @@ class Libxml2 < Package
source_sha1 'f46a37ea6d869f702e03f393c376760f3cbee673'
def self.build
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\""
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\" --without-python"
system "make"
end
......
File mode changed from 100755 to 100644
require 'package'
class Nettle < Package
version '2.7.1'
source_url 'https://ftp.gnu.org/gnu/nettle/nettle-2.7.1.tar.gz'
source_sha1 'e7477df5f66e650c4c4738ec8e01c2efdb5d1211'
depends_on 'buildessential'
depends_on 'm4'
def self.build
system "./configure --libdir=/usr/local/lib"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install"
end
end
require 'package'
# @todo: provide vpnc-script (standalone), instructions for manual install:
#
# sudo su -
# mkdir /usr/local/etc/vpnc
# cd /usr/local/etc/vpnc
# wget http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script
# chmod a+x vpnc-script
# exit
# @todo: provide start-vpn script, instructions for manual connect:
# Usage (as root - run 'sudo su -'):
#
# Create 'tun0' tunnel interface:
#
# > ip tuntap add mode tun tun0
#
# Run openconnect on tun0 interface
#
# > openconnect -i tun0 vpn.example.com
# (Press Ctrl+C to exit)
#
# Shut down tun0 interface
#
# > ip tuntap del mode tun tun0
class Openconnect < Package
version '7.06'
source_url 'ftp://ftp.infradead.org/pub/openconnect/openconnect-7.06.tar.gz'
source_sha1 '2351408693aab0c6bc97d37e68b4a869fbb217ed'
depends_on 'buildessential'
depends_on 'libxml2'
depends_on 'gnutls'
def self.build
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\" --without-gnutls"
system "./configure --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\" --with-vpnc-script=/usr/local/etc/vpnc/vpnc-script"
system "make"
end
......
......@@ -5,6 +5,8 @@ class Pkgconfig < Package
source_url 'http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz'
source_sha1 '71853779b12f958777bffcb8ca6d849b4d3bed46'
depends_on 'buildessential'
def self.build
system "./configure --with-internal-glib --libdir=/usr/local/lib64/ CC=\"gcc -m64\" CFLAGS=\" -fPIC\""
system "make"
......
File mode changed from 100755 to 100644
File mode changed from 100755 to 100644
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment