summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaroslav Lichtblau2014-11-29 19:11:08 +0100
committerJaroslav Lichtblau2014-11-29 19:11:08 +0100
commite0b6df25d242c1c013cf4aee259bdccef305be71 (patch)
tree66de4ff30032da81beb4441c31c11059f65b1888
parent6134d42cdbcddebc79b32ece4accdc7a7647e500 (diff)
downloadaur-e0b6df25d242c1c013cf4aee259bdccef305be71.tar.gz
arno-iptables-firewall-2.0.1e-1
-rw-r--r--PKGBUILD37
1 files changed, 18 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 705774858a5..f494e85ac24 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,44 +28,43 @@ backup=(etc/${pkgname}/firewall.conf
etc/${pkgname}/plugins/transparent-dnat.conf
etc/${pkgname}/plugins/transparent-proxy.conf)
source=(http://rocky.eld.leidenuniv.nl/${pkgname}/${pkgname}_${pkgver}.tar.gz
- ${pkgname}.patch \
- ${pkgname}.service)
+ ${pkgname}.patch ${pkgname}.service)
sha256sums=('fa7b865e5d9b8e077cba73b2f28695a2fd691092a0a7f9e1c16ee369fc27fe43'
'f1c09af1470354aa8b1a506cd97d1a5c2f95599db896e6dbde7dd506d4c85d1d'
'8c35a221ae7bb4b8abda923590b8bfab856dcc4d3f85991eebb37314efd1931c')
package() {
- cd ${srcdir}/${pkgname}_${pkgver}
+ cd "${srcdir}"/${pkgname}_${pkgver}
# patch
- patch -Np0 -i ${srcdir}/${pkgname}.patch
+ patch -Np0 -i "${srcdir}"/${pkgname}.patch
# conf files
- install -d -m 0755 etc/${pkgname}/plugins/ ${pkgdir}/etc/${pkgname}/plugins/
- for i in `find etc/${pkgname} -type f`; do install -T -m 0600 $i ${pkgdir}/$i ;done
- install -D -m 0644 share/${pkgname}/environment ${pkgdir}/usr/share/${pkgname}/environment
+ install -d -m 0755 etc/${pkgname}/plugins/ "${pkgdir}"/etc/${pkgname}/plugins/
+ for i in `find etc/${pkgname} -type f`; do install -T -m 0600 $i "${pkgdir}"/$i ;done
+ install -D -m 0644 share/${pkgname}/environment "${pkgdir}"/usr/share/${pkgname}/environment
# plugins
- install -d -m 0755 share/${pkgname}/plugins/ ${pkgdir}/usr/share/${pkgname}/plugins/
- for i in share/${pkgname}/plugins/*plugin; do install -T -m 0644 $i ${pkgdir}/usr/$i ;done
+ install -d -m 0755 share/${pkgname}/plugins/ "${pkgdir}"/usr/share/${pkgname}/plugins/
+ for i in share/${pkgname}/plugins/*plugin; do install -T -m 0644 $i "${pkgdir}"/usr/$i ;done
install -D -m 0744 share/${pkgname}/plugins/dyndns-host-open-helper \
- ${pkgdir}/usr/share/${pkgname}/plugins/dyndns-host-open-helper
+ "${pkgdir}"/usr/share/${pkgname}/plugins/dyndns-host-open-helper
install -D -m 0744 share/${pkgname}/plugins/traffic-accounting-helper \
- ${pkgdir}/usr/share/${pkgname}/plugins/traffic-accounting-helper
+ "${pkgdir}"/usr/share/${pkgname}/plugins/traffic-accounting-helper
install -D -m 0744 share/${pkgname}/plugins/traffic-accounting-log-rotate \
- ${pkgdir}/usr/share/${pkgname}/plugins/traffic-accounting-log-rotate
+ "${pkgdir}"/usr/share/${pkgname}/plugins/traffic-accounting-log-rotate
install -D -m 0744 share/${pkgname}/plugins/traffic-accounting-show \
- ${pkgdir}/usr/share/${pkgname}/plugins/traffic-accounting-show
+ "${pkgdir}"/usr/share/${pkgname}/plugins/traffic-accounting-show
# binary
- install -D -m 0744 bin/${pkgname} ${pkgdir}/usr/bin/${pkgname}
- install -D -m 0744 bin/arno-fwfilter ${pkgdir}/usr/bin/arno-fwfilter
- install -D -m 0744 contrib/adsl-failover ${pkgdir}/usr/bin/adsl-failover
+ install -D -m 0744 bin/${pkgname} "${pkgdir}"/usr/bin/${pkgname}
+ install -D -m 0744 bin/arno-fwfilter "${pkgdir}"/usr/bin/arno-fwfilter
+ install -D -m 0744 contrib/adsl-failover "${pkgdir}"/usr/bin/adsl-failover
# man files
- install -D -m 0644 share/man/man1/arno-fwfilter.1 ${pkgdir}/usr/share/man/man1/arno-fwfilter.1
- install -D -m 0644 share/man/man8/${pkgname}.8 ${pkgdir}/usr/share/man/man8/${pkgname}.8
+ install -D -m 0644 share/man/man1/arno-fwfilter.1 "${pkgdir}"/usr/share/man/man1/arno-fwfilter.1
+ install -D -m 0644 share/man/man8/${pkgname}.8 "${pkgdir}"/usr/share/man/man8/${pkgname}.8
# systemd script
- install -D -m 0644 ${srcdir}/${pkgname}.service ${pkgdir}/usr/lib/systemd/system/${pkgname}.service
+ install -D -m 0644 "${srcdir}"/${pkgname}.service "${pkgdir}"/usr/lib/systemd/system/${pkgname}.service
}