From f4fcfe83ea117c4091b4ae66b57697f1e6db52a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Fri, 31 Jan 2014 19:47:57 -0200 Subject: remove ipsec-tools-libre and tomoyo-tools-libre because doesn't needs be rebuilt against our kernels and headers to works well --- libre/ipsec-tools-libre/PKGBUILD | 48 --------------------- .../ipsec-tools-linux-3.7-compat.patch | 50 ---------------------- libre/ipsec-tools-libre/ipsec.service | 12 ------ libre/ipsec-tools-libre/racoon.service | 10 ----- libre/tomoyo-tools-libre/PKGBUILD | 42 ------------------ libre/tomoyo-tools-libre/tomoyo-tools.install | 11 ----- 6 files changed, 173 deletions(-) delete mode 100644 libre/ipsec-tools-libre/PKGBUILD delete mode 100644 libre/ipsec-tools-libre/ipsec-tools-linux-3.7-compat.patch delete mode 100644 libre/ipsec-tools-libre/ipsec.service delete mode 100644 libre/ipsec-tools-libre/racoon.service delete mode 100644 libre/tomoyo-tools-libre/PKGBUILD delete mode 100644 libre/tomoyo-tools-libre/tomoyo-tools.install (limited to 'libre') diff --git a/libre/ipsec-tools-libre/PKGBUILD b/libre/ipsec-tools-libre/PKGBUILD deleted file mode 100644 index eb7a846bb..000000000 --- a/libre/ipsec-tools-libre/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# $Id: PKGBUILD 100177 2013-11-01 20:59:04Z spupykin $ -# Maintainer: Sergej Pupykin -# Contributor: Allan Henriksen -# Maintainer (Parabola): André Silva - -_pkgname=ipsec-tools -pkgname=ipsec-tools-libre -pkgver=0.8.1 -pkgrel=5 -pkgdesc="KAME IPSec tools ported to Linux (built for the linux-libre-headers package)" -arch=('i686' 'x86_64' 'mips64el') -url="http://ipsec-tools.sourceforge.net/" -depends=('readline' 'openssl' 'krb5') -makedepends=('linux-libre-headers') -replaces=$_pkgname -conflicts=$_pkgname -provides=$_pkgname=$pkgver -license=('GPL') -options=('!makeflags') -source=(http://downloads.sourceforge.net/sourceforge/ipsec-tools/$_pkgname-$pkgver.tar.bz2 - racoon.service - ipsec.service - ipsec-tools-linux-3.7-compat.patch) -md5sums=('d38b39f291ba2962387c3232e7335dd8' - '3a64a9e3b498c6da90450ffb0b758aea' - '387a0b0c4f10e42b2bb62282885cdc9c' - 'ae1dd20c83dcfce3dedb46ee73e83613') - -build() { - cd $srcdir/$_pkgname-$pkgver - - patch -p1 <$srcdir/ipsec-tools-linux-3.7-compat.patch - sed -i 's#-Werror##' configure.ac - - ./bootstrap - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin \ - --enable-security-context=no --enable-hybrid --enable-dpd --enable-natt \ - --enable-adminport --enable-gssapi \ - --with-kernel-headers=/lib/modules/`pacman -Q linux-libre-headers | cut -f2 -d\ `-LIBRE/build/include - make -} - -package() { - cd $srcdir/$_pkgname-$pkgver - make DESTDIR=$pkgdir install - install -Dm0644 $srcdir/racoon.service $pkgdir/usr/lib/systemd/system/racoon.service - install -Dm0644 $srcdir/ipsec.service $pkgdir/usr/lib/systemd/system/ipsec.service -} diff --git a/libre/ipsec-tools-libre/ipsec-tools-linux-3.7-compat.patch b/libre/ipsec-tools-libre/ipsec-tools-linux-3.7-compat.patch deleted file mode 100644 index 46b11ee51..000000000 --- a/libre/ipsec-tools-libre/ipsec-tools-linux-3.7-compat.patch +++ /dev/null @@ -1,50 +0,0 @@ ---- a/configure.ac -+++ b/configure.ac -@@ -74,9 +74,10 @@ case "$host_os" in - [ KERNEL_INCLUDE="/lib/modules/`uname -r`/build/include" ]) - - AC_CHECK_HEADER($KERNEL_INCLUDE/linux/pfkeyv2.h, , -- [ AC_CHECK_HEADER(/usr/src/linux/include/linux/pfkeyv2.h, -- KERNEL_INCLUDE=/usr/src/linux/include , -- [ AC_MSG_ERROR([Unable to find linux-2.6 kernel headers. Aborting.]) ] ) ] ) -+ [ AC_CHECK_HEADER($KERNEL_INCLUDE/uapi/linux/pfkeyv2.h, , -+ [ AC_CHECK_HEADER(/usr/src/linux/include/linux/pfkeyv2.h, -+ KERNEL_INCLUDE=/usr/src/linux/include , -+ [ AC_MSG_ERROR([Unable to find linux-2.6 kernel headers. Aborting.]) ] ) ] ) ] ) - AC_SUBST(KERNEL_INCLUDE) - # We need the configure script to run with correct kernel headers. - # However we don't want to point to kernel source tree in compile time, -@@ -643,7 +644,14 @@ AC_EGREP_CPP(yes, - #ifdef SADB_X_EXT_NAT_T_TYPE - yes - #endif --], [kernel_natt="yes"]) -+], [kernel_natt="yes"], [ -+ AC_EGREP_CPP(yes, -+ [#include -+ #ifdef SADB_X_EXT_NAT_T_TYPE -+ yes -+ #endif -+ ], [kernel_natt="yes"]) -+]) - ;; - freebsd*|netbsd*) - # NetBSD case ---- a/src/include-glibc/Makefile.am -+++ b/src/include-glibc/Makefile.am -@@ -1,14 +1,7 @@ -- --.includes: ${top_builddir}/config.status -- ln -snf $(KERNEL_INCLUDE)/linux -- touch .includes -- --all: .includes -- - EXTRA_DIST = \ - glibc-bugs.h \ - net/pfkeyv2.h \ - netinet/ipsec.h \ - sys/queue.h - --DISTCLEANFILES = .includes linux -+DISTCLEANFILES = linux diff --git a/libre/ipsec-tools-libre/ipsec.service b/libre/ipsec-tools-libre/ipsec.service deleted file mode 100644 index 483a5b58d..000000000 --- a/libre/ipsec-tools-libre/ipsec.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Load IPSec Security Policy Database -After=syslog.target network.target - -[Service] -Type=oneshot -RemainAfterExit=true -ExecStart=/usr/bin/setkey -f /etc/ipsec.conf -ExecStop=/usr/bin/setkey -F -P ; /usr/bin/setkey -F - -[Install] -WantedBy=multi-user.target diff --git a/libre/ipsec-tools-libre/racoon.service b/libre/ipsec-tools-libre/racoon.service deleted file mode 100644 index 95324bd5d..000000000 --- a/libre/ipsec-tools-libre/racoon.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Racoon IKEv1 key management daemon for IPSEC -After=syslog.target network.target - -[Service] -Type=forking -ExecStart=/usr/bin/racoon - -[Install] -WantedBy=multi-user.target diff --git a/libre/tomoyo-tools-libre/PKGBUILD b/libre/tomoyo-tools-libre/PKGBUILD deleted file mode 100644 index ad0306918..000000000 --- a/libre/tomoyo-tools-libre/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# $Id: PKGBUILD 96508 2013-08-30 20:31:24Z foutrelis $ -# Maintainer: Sergej Pupykin -# Maintainer: Jamie Nguyen -# Maintainer (Parabola): André Silva - -_pkgname=tomoyo-tools -pkgname=tomoyo-tools-libre -_basever=2.5.0 -_timestamp=20130406 -_file=53357 -pkgver=${_basever}.${_timestamp} -pkgrel=2 -pkgdesc='TOMOYO Linux userspace tools for Linux kernels >=3.2 (built for the linux-libre kernel package)' -arch=('i686' 'x86_64' 'mips64el') -url='http://tomoyo.sourceforge.jp' -#url='http://sourceforge.jp/projects/tomoyo/releases/?package_id=9818' -license=('GPL') -depends=('ncurses' 'linux-libre>=3.2') -replaces=${_pkgname} -conflicts=${_pkgname} -provides=${_pkgname}=${pkgver} -install=tomoyo-tools.install -source=("http://sourceforge.jp/frs/redir.php?f=/tomoyo/${_file}/${_pkgname}-${_basever}-${_timestamp}.tar.gz") -md5sums=('8888f83fcb87823d714ff551e8680d0d') - -prepare() { - cd "${srcdir}/${_pkgname}" - sed -i \ - -e 's|usr/sbin|usr/bin|g' \ - -e 's|sbin|usr/bin|g' \ - usr_lib_tomoyo/init_policy.c -} - -build() { - cd "${srcdir}/${_pkgname}" - make USRSBINDIR=/usr/bin SBINDIR=/usr/bin -} - -package() { - cd "${srcdir}/${_pkgname}" - make USRSBINDIR=/usr/bin SBINDIR=/usr/bin INSTALLDIR="${pkgdir}" install -} diff --git a/libre/tomoyo-tools-libre/tomoyo-tools.install b/libre/tomoyo-tools-libre/tomoyo-tools.install deleted file mode 100644 index c23df1212..000000000 --- a/libre/tomoyo-tools-libre/tomoyo-tools.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install () { - echo - echo " * To enable TOMOYO Linux, append 'security=tomoyo TOMOYO_trigger=/usr/bin/init' to the kernel" - echo " boot options and initialize policy with this command:" - echo " /usr/lib/tomoyo/init_policy" - echo -} - -post_upgrade () { - post_install $1 -} -- cgit v1.2.3-2-g168b