[Pkg-swan-devel] Ubuntu strongSwan changes
Jonathan Davies
jonathan.davies at canonical.com
Sat Jan 4 05:05:06 UTC 2014
Hello,
Over the last few weeks, I made a series of changes to the strongSwan
packaging in Ubuntu to improve it. I would now like to have these
changes placed into Debian.
These changes include:
* Define *.install files for new binary packages for plugins.
* debian/control: Merged in Ubuntu changes:
- Updated Standards-Version to 3.9.5.
- Added build dependency on: check, libldns-dev, libunbound-dev,
libsoup2.4-dev, libpcsclite-dev, libtspi-dev, libmysqlclient-dev.
- Bring down build-dependency version on dpkg-dev to >= 1.16.1.
- Defined a large set of binary packages for individual plugins.
- libstrongswan package: Added Suggests on strongswan-tnc-imcvs.
- strongswan-ike package: Depend on crypto plugins and also iproute2.
- strongswan-ike package: Suggest a series of plugin packages.
- strongswan-libfast: New package for libfast library of strongSwan.
* debian/usr.lib.ipsec.charon: AppArmor profile for charon daemon.
* debian/strongswan-starter.strongswan.upstart: Upstart profile for charon
daemon.
* debian/rules:
- Build strongSwan with unit tests and the majority of plugins enabled.
- Install AppArmor profile with dh_apparmor and new Upstart
configuration.
* debian/strongswan-starter.postinst: Removed that useless runlevels
prompt -
it's now 2014.
* debian/strongswan-starter.prerm: Renamed init script to stop here.
* debian/strongswan-starter.dirs: Stop referencing init.d.
* debian/strongswan-starter.postrm: Likewise, stop referencing old Sys-V
script.
These changes are/[will be] available in a Git repo here [once Alioth
updates]:
-
http://anonscm.debian.org/gitweb/?p=users/jpds-guest/strongswan.git;a=summary
This should be already fetchable via SSH.
As you can see, I've enabled as many plugins as possible and split them
into little subpackages. This is to offer people as much choice as
possible, without having to recompile strongSwan should we have left out
a plugin.
Also, if Debian is using systemd as it's init daemon - I suggest you
drop the init.d script in the packaging and use the configuration in the
init/ directory of the upstream source. I've included an Upstart job in
the debian/ directory itself.
Cheers, let me know if you have any feedback.
--
Jonathan Davies | Canonical Ltd.
www.canonical.com | www.ubuntu.com
More information about the Pkg-swan-devel
mailing list