[arch-commits] Commit in cutter/trunk (ChangeLog PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Wed May 16 00:36:58 UTC 2018
Date: Wednesday, May 16, 2018 @ 00:36:57
Author: anthraxx
Revision: 322541
upgpkg: cutter 1.04-2 (rebuild with hardening)
Modified:
cutter/trunk/PKGBUILD
Deleted:
cutter/trunk/ChangeLog
-----------+
ChangeLog | 3 ---
PKGBUILD | 31 +++++++++++++++++++------------
2 files changed, 19 insertions(+), 15 deletions(-)
Deleted: ChangeLog
===================================================================
--- ChangeLog 2018-05-16 00:07:12 UTC (rev 322540)
+++ ChangeLog 2018-05-16 00:36:57 UTC (rev 322541)
@@ -1,3 +0,0 @@
-2007-07-02 tardo <tardo at nagi-fanboi.net>
-* Built for x86_64
-
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-16 00:07:12 UTC (rev 322540)
+++ PKGBUILD 2018-05-16 00:36:57 UTC (rev 322541)
@@ -1,24 +1,31 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
pkgname=cutter
pkgver=1.04
-pkgrel=1
-pkgdesc="TCP/IP Connection cutting on Linux Firewalls and Routers"
+pkgrel=2
+pkgdesc='TCP/IP Connection cutting on Linux Firewalls and Routers'
+url='http://www.digitage.co.uk/digitage/software/linux-security/cutter'
arch=('x86_64')
-url="http://www.digitage.co.uk/digitage/software/linux-security/cutter"
-license=('GPL')
-depends=()
-source=("http://www.digitage.co.uk/digitage/files/cutter/cutter-$pkgver.tgz")
-md5sums=('0efbf3c62ab0bdba39b083ad023914de')
+license=('GPL2')
+depends=('glibc')
+source=(http://www.digitage.co.uk/digitage/files/cutter/cutter-${pkgver}.tgz)
+sha256sums=('1b336c69eb3393f6ca118a529773014c41126ac6dabd04b77151daa1c2f01180')
+sha512sums=('79c17ec8c17e696a79aa8b11fda347f2e6929eb35f9a37da450acf6aff7ab9471e13eaef24708f90f3f0c2791fade2eb944443b98df3d3ae4eef0c408abc7b3a')
+prepare() {
+ cd ${pkgname}-${pkgver}
+ sed 's|cc|cc ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}|g' -i Makefile
+}
+
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd ${pkgname}-${pkgver}
make
}
package() {
- cd "$srcdir"/$pkgname-$pkgver
- install -D -m 0755 cutter "$pkgdir"/usr/bin/tcp-cutter
+ cd ${pkgname}-${pkgver}
+ install -Dm 0755 cutter "${pkgdir}/usr/bin/tcp-cutter"
}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list