Commit 3a7f10e0 authored by philm's avatar philm

downgrade iptables

parent 141c8e50
# $Id: PKGBUILD 90541 2010-09-13 10:46:30Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Link Dupont <link@subpop.net>
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
#
pkgname=dbus-core
pkgver=1.4.0
pkgver=1.4.10
pkgrel=1
pkgdesc="Freedesktop.org message bus system"
url="http://www.freedesktop.org/Software/dbus"
......@@ -15,18 +17,24 @@ options=(!libtool)
install=dbus.install
source=(http://dbus.freedesktop.org/releases/dbus/dbus-${pkgver}.tar.gz
dbus)
md5sums=('f59618b18d2fb2bd1fce9e1c5a2a3282'
md5sums=('402a2f8102bedbe236e2891b2b0f31c2'
'08f93dd19cffd1b45ab05c1fd4efb560')
build() {
cd "${srcdir}/dbus-${pkgver}"
sed -i -e 's/#ifdef DBUS_BUILD_X11/#if 1/' dbus/dbus-sysdeps-unix.c
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/dbus-1.0 --with-dbus-user=81 \
--with-system-pid-file=/var/run/dbus.pid \
--enable-inotify --disable-dnotify \
--disable-verbose-mode --disable-static \
--disable-tests --disable-asserts --without-x
--disable-tests --disable-asserts --without-x \
--with-systemdsystemunitdir=/lib/systemd/system
make
}
package() {
cd "${srcdir}/dbus-${pkgver}"
make DESTDIR="${pkgdir}" install
rm -f "${pkgdir}/usr/bin/dbus-launch"
......@@ -46,8 +54,8 @@ build() {
touch "${pkgdir}/etc/dbus-1/session.d/.keep"
touch "${pkgdir}/etc/dbus-1/system.d/.keep"
rmdir "${pkgdir}/usr/lib/dbus-1.0/dbus-1"
#rmdir "${pkgdir}/usr/lib/dbus-1.0/dbus-1"
install -d -m755 "${pkgdir}/usr/share/licenses/dbus-core"
install -m644 COPYING "${pkgdir}/usr/share/licenses/dbus-core/"
}
}
\ No newline at end of file
......@@ -5,7 +5,7 @@
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=iptables
pkgver=1.4.11
pkgver=1.4.10
pkgrel=1
pkgdesc="A Linux kernel packet control tool"
arch=('i686' 'x86_64')
......@@ -13,10 +13,14 @@ license=('GPL2')
url="http://www.netfilter.org/"
depends=('glibc' 'bash')
options=('!libtool')
source=(http://www.iptables.org/projects/iptables/files/${pkgname}-${pkgver}.tar.bz2 \
iptables ip6tables empty.rules simple_firewall.rules iptables.conf.d)
source=(http://www.iptables.org/projects/iptables/files/${pkgname}-${pkgver}.tar.bz2
iptables
ip6tables
empty.rules
simple_firewall.rules
iptables.conf.d)
backup=(etc/conf.d/iptables)
sha1sums=('1dd2b2306e25122ab22b2fbbb31997be7461dee9'
sha1sums=('8190b8c9714a3eec825317e8ac1deeb3d11c6d29'
'd7540316581bb66c5594885882a14ba394e95098'
'70d70113e3a23f0fe99404c5536507a887a4ca5c'
'83b3363878e3660ce23b2ad325b53cbd6c796ecf'
......@@ -35,17 +39,17 @@ build() {
--with-xtlibdir=/usr/lib/iptables \
--enable-devel --enable-libipq
make || return 1
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install || return 1
make DESTDIR=${pkgdir} install
install -D -m755 ../iptables ${pkgdir}/etc/rc.d/iptables
install -D -m755 ../ip6tables ${pkgdir}/etc/rc.d/ip6tables
install -D -m644 ../empty.rules ${pkgdir}/etc/iptables/empty.rules
install -D -m644 ../simple_firewall.rules ${pkgdir}/etc/iptables/simple_firewall.rules
install -D -m644 ../iptables.conf.d ${pkgdir}/etc/conf.d/iptables
}
}
\ No newline at end of file
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