build scripts for ubuntu NetworkManager packages
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
network-manager-strongswan (4.2.6-2) hardy; urgency=low
|
||||
|
||||
* new package based on network-manager-vpnc
|
||||
|
||||
-- Martin Willi <[email protected]> Tue, 26 Aug 2008 14:40:48 +0200
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
5
|
||||
@@ -0,0 +1,28 @@
|
||||
Source: network-manager-strongswan
|
||||
Section: net
|
||||
Priority: extra
|
||||
Maintainer: Martin Willi <[email protected]>
|
||||
Build-Depends: cdbs,
|
||||
debhelper (>= 5),
|
||||
network-manager-dev (>= 0.7~~svn20080818),
|
||||
libnm-glib-dev (>= 0.7~~svn20080818),
|
||||
automake1.9,
|
||||
gnome-common,
|
||||
intltool,
|
||||
libgnomeui-dev,
|
||||
libdbus-glib-1-dev,
|
||||
patchutils
|
||||
Standards-Version: 3.7.3.0
|
||||
|
||||
Package: network-manager-strongswan
|
||||
Architecture: any
|
||||
Depends: strongswan-nm
|
||||
Description: network management framework (strongSwan plugin)
|
||||
NetworkManager attempts to keep an active network connection available at
|
||||
all times. It is intended primarily for laptops where it allows easy
|
||||
switching betwen local wireless networks, it's also useful on desktops
|
||||
with a selection of different interfaces to use. It is not intended for
|
||||
usage on servers.
|
||||
.
|
||||
This package provides a VPN plugin for strongSwan, providing easy access to
|
||||
IKEv2 IPSec VPN's.
|
||||
@@ -0,0 +1,27 @@
|
||||
This package was debianized by Martin Willi <[email protected]> based
|
||||
on network-manager-vpnc packaged by Soren Hansen <[email protected]>
|
||||
Tue, 26 Aug 2008 14:45:00 +0200
|
||||
|
||||
It was downloaded from www.strongswan.org
|
||||
|
||||
The plugin is Copyright 2008 Martin Willi <[email protected]> and derived
|
||||
from the VPNC plugin Copyrigjt 2005-2008 Red Hat, Inc.
|
||||
The packaging is Copyright 2007 Soren Hansen <[email protected]> and
|
||||
Copyright 2008 Martin Willi <[email protected]>
|
||||
|
||||
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 program; if not, write to the Free Software Foundation,
|
||||
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
On Debian systems, the complete text of the GNU General
|
||||
Public License can be found in `/usr/share/common-licenses/GPL-2'.
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
if [ -x "/etc/dbus-1/event.d/25NetworkManager" ]; then
|
||||
/etc/dbus-1/event.d/25NetworkManager restart
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/rules/simple-patchsys.mk
|
||||
include /usr/share/cdbs/1/class/autotools.mk
|
||||
|
||||
makebuilddir/network-manager-vpnc:: debian/stamp-bootstrap
|
||||
|
||||
debian/stamp-bootstrap:
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
touch debian/stamp-bootstrap
|
||||
|
||||
clean::
|
||||
[ ! -f Makefile ] || $(MAKE) clean
|
||||
@@ -0,0 +1,18 @@
|
||||
strongswan-nm (4.2.6.1-1) hardy; urgency=low
|
||||
|
||||
* new upstream sources with GPL code only
|
||||
|
||||
-- Martin Willi <[email protected]> Wed, 27 Aug 2008 14:39:33 +0200
|
||||
|
||||
strongswan-nm (4.2.6-3) hardy; urgency=low
|
||||
|
||||
* re-upload
|
||||
|
||||
-- Martin Willi <[email protected]> Tue, 26 Aug 2008 16:59:33 +0200
|
||||
|
||||
strongswan-nm (4.2.6-2) hardy; urgency=low
|
||||
|
||||
* Initial NetworkManager build
|
||||
|
||||
-- Martin Willi <[email protected]> Tue, 26 Aug 2008 11:42:52 +0200
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
Source: strongswan-nm
|
||||
Section: net
|
||||
Priority: extra
|
||||
Maintainer: Martin Willi <[email protected]>
|
||||
Standards-Version: 3.7.3.0
|
||||
Build-Depends: debhelper (>= 4.1.16), libssl-dev (>= 0.9.8), network-manager-dev (>= 0.7~~svn20080818), libnm-glib-dev (>= 0.7~~svn20080818), libpam0g-dev
|
||||
|
||||
Package: strongswan-nm
|
||||
Architecture: any
|
||||
Depends: libssl0.9.8, network-manager (>= 0.7~~svn20080818)
|
||||
Conflicts: freeswan, openswan, strongswan
|
||||
Replaces: strongswan
|
||||
Description: strongSwan IPSec VPN client
|
||||
A build of the strongSwan IPSec keying daemon intended for use with
|
||||
NetworkManager as a road-warrior client.
|
||||
@@ -0,0 +1,10 @@
|
||||
This package was debianized by Martin Willi <[email protected]>
|
||||
Tue, 26 Aug 2008 12:35:50 +0200
|
||||
|
||||
It has been created from a stripped SVN checkout containing GPL sources only.
|
||||
|
||||
This project has multiple authors, please see the file CREDITS for details.
|
||||
|
||||
Tthis package is completely under the GNU General Public License v2,
|
||||
see COPYING.
|
||||
|
||||
Executable
+59
@@ -0,0 +1,59 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
package = strongswan-nm
|
||||
docdir = debian/tmp/usr/share/doc/$(package)
|
||||
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -Wno-format -Wno-pointer-sign -Wno-strict-aliasing -g
|
||||
INSTALL_PROGRAM = install
|
||||
|
||||
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
|
||||
INSTALL_PROGRAM += -s
|
||||
endif
|
||||
|
||||
build:
|
||||
$(checkdir)
|
||||
./configure --disable-aes --disable-des --disable-md5 --disable-sha1 \
|
||||
--disable-sha2 --disable-fips-prf --disable-gmp --disable-stroke \
|
||||
--disable-pluto --disable-tools --disable-updown --enable-openssl \
|
||||
--enable-nm --enable-eap-gtc \
|
||||
--sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib
|
||||
$(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)"
|
||||
touch build
|
||||
|
||||
clean:
|
||||
$(checkdir)
|
||||
rm -f build
|
||||
[ ! -f Makefile ] || $(MAKE) clean
|
||||
rm -rf *~ debian/tmp debian/*~ debian/files* debian/substvars
|
||||
|
||||
binary-indep: checkroot build
|
||||
$(checkdir)
|
||||
|
||||
binary-arch: checkroot build
|
||||
rm -rf debian/tmp
|
||||
install -d debian/tmp/DEBIAN $(docdir)
|
||||
$(MAKE) INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \
|
||||
DESTDIR=$$(pwd)/debian/tmp install
|
||||
cp -a NEWS debian/copyright $(docdir)
|
||||
cp -a debian/changelog $(docdir)/changelog.Debian
|
||||
cd $(docdir) && gzip -9 changelog.Debian
|
||||
dpkg-gencontrol -isp
|
||||
chown -R root:root debian/tmp
|
||||
dpkg --build debian/tmp ..
|
||||
|
||||
define checkdir
|
||||
test -f src/charon/daemon.c -a -f debian/rules
|
||||
endef
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
|
||||
checkroot:
|
||||
$(checkdir)
|
||||
test $$(id -u) = 0
|
||||
|
||||
.PHONY: binary binary-arch binary-indep clean checkroot
|
||||
|
||||
Reference in New Issue
Block a user