[arch-commits] Commit in ipset/repos/extra-x86_64 (4 files)
Sébastien Luttringer
seblu at archlinux.org
Sun Jan 7 19:58:22 UTC 2018
Date: Sunday, January 7, 2018 @ 19:58:19
Author: seblu
Revision: 314252
archrelease: copy trunk to extra-x86_64
Added:
ipset/repos/extra-x86_64/PKGBUILD
(from rev 314250, ipset/trunk/PKGBUILD)
ipset/repos/extra-x86_64/ipset.service
(from rev 314250, ipset/trunk/ipset.service)
Deleted:
ipset/repos/extra-x86_64/PKGBUILD
ipset/repos/extra-x86_64/ipset.service
---------------+
PKGBUILD | 118 ++++++++++++++++++++++++++++----------------------------
ipset.service | 28 ++++++-------
2 files changed, 73 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-07 19:57:52 UTC (rev 314251)
+++ PKGBUILD 2018-01-07 19:58:19 UTC (rev 314252)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer
-
-pkgname=ipset
-pkgver=6.34
-pkgrel=1
-pkgdesc='Administration tool for IP sets'
-arch=('i686' 'x86_64')
-url='http://ipset.netfilter.org/'
-license=('GPL2')
-depends=('glibc' 'libmnl')
-backup=("etc/$pkgname.conf")
-source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2"
- "$pkgname.service")
-md5sums=('51bd03f976a1501fd45e1d71a1e2e6bf'
- 'e20fe62881993078591f1bb8b2fa22bb')
-
-prepare() {
- cd $pkgname-$pkgver
- # apply patch from the source array (should be a pacman feature)
- local filename
- for filename in "${source[@]}"; do
- if [[ "$filename" =~ \.patch$ ]]; then
- msg2 "Applying patch ${filename##*/}"
- patch -p1 -N -i "$srcdir/${filename##*/}"
- fi
- done
- :
- # needed because we patch configure.ac (TO BE REMOVED)
- ./autogen.sh
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --sbindir=/usr/bin --with-kmod=no
- make
-}
-
-check() {
- $pkgname-$pkgver/src/ipset version
-}
-
-package() {
- pushd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- # install doc
- install -dm755 "$pkgdir/usr/share/doc/$pkgname"
- install -m644 README UPGRADE ChangeLog "$pkgdir/usr/share/doc/$pkgname"
- # install pkgconfig file
- install -Dm644 lib/libipset.pc "$pkgdir/usr/lib/pkgconfig/libipset.pc"
- popd
- # systemd
- install -Dm 644 $pkgname.service \
- "$pkgdir/usr/lib/systemd/system/$pkgname.service"
- # default config file
- install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: ipset/repos/extra-x86_64/PKGBUILD (from rev 314250, ipset/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-01-07 19:58:19 UTC (rev 314252)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Sébastien Luttringer
+
+pkgname=ipset
+pkgver=6.35
+pkgrel=1
+pkgdesc='Administration tool for IP sets'
+arch=('x86_64')
+url='http://ipset.netfilter.org/'
+license=('GPL2')
+depends=('glibc' 'libmnl')
+backup=("etc/$pkgname.conf")
+source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2"
+ "$pkgname.service")
+md5sums=('8ffd6f69be4cf4d67a584163965b8701'
+ 'e20fe62881993078591f1bb8b2fa22bb')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # apply patch from the source array (should be a pacman feature)
+ local filename
+ for filename in "${source[@]}"; do
+ if [[ "$filename" =~ \.patch$ ]]; then
+ msg2 "Applying patch ${filename##*/}"
+ patch -p1 -N -i "$srcdir/${filename##*/}"
+ fi
+ done
+ :
+ # needed because we patch configure.ac (TO BE REMOVED)
+ ./autogen.sh
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --sbindir=/usr/bin --with-kmod=no
+ make
+}
+
+check() {
+ $pkgname-$pkgver/src/ipset version
+}
+
+package() {
+ pushd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ # install doc
+ install -dm755 "$pkgdir/usr/share/doc/$pkgname"
+ install -m644 README UPGRADE ChangeLog "$pkgdir/usr/share/doc/$pkgname"
+ # install pkgconfig file
+ install -Dm644 lib/libipset.pc "$pkgdir/usr/lib/pkgconfig/libipset.pc"
+ popd
+ # systemd
+ install -Dm 644 $pkgname.service \
+ "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+ # default config file
+ install -Dm 644 /dev/null "$pkgdir/etc/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: ipset.service
===================================================================
--- ipset.service 2018-01-07 19:57:52 UTC (rev 314251)
+++ ipset.service 2018-01-07 19:58:19 UTC (rev 314252)
@@ -1,14 +0,0 @@
-[Unit]
-Description=Loading IP Sets
-Before=network-pre.target iptables.service ip6tables.service
-Wants=network-pre.target
-
-[Service]
-Type=oneshot
-RemainAfterExit=yes
-ExecStart=/usr/bin/ipset -f /etc/ipset.conf restore
-ExecReload=/usr/bin/ipset -f /etc/ipset.conf restore
-ExecStop=/usr/bin/ipset destroy
-
-[Install]
-WantedBy=multi-user.target
Copied: ipset/repos/extra-x86_64/ipset.service (from rev 314250, ipset/trunk/ipset.service)
===================================================================
--- ipset.service (rev 0)
+++ ipset.service 2018-01-07 19:58:19 UTC (rev 314252)
@@ -0,0 +1,14 @@
+[Unit]
+Description=Loading IP Sets
+Before=network-pre.target iptables.service ip6tables.service
+Wants=network-pre.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/ipset -f /etc/ipset.conf restore
+ExecReload=/usr/bin/ipset -f /etc/ipset.conf restore
+ExecStop=/usr/bin/ipset destroy
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list