From nobody Thu Mar 28 12:30:58 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-bw0-f163.google.com (mail-bw0-f163.google.com [209.85.218.163]) by lists.alpinelinux.org (Postfix) with ESMTP id 06962170000BA for ; Fri, 20 Feb 2009 21:22:07 +0000 (UTC) Received: by bwz7 with SMTP id 7so3274193bwz.1 for ; Fri, 20 Feb 2009 13:22:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:mime-version:subject:date:x-mailer; bh=lnVuHWwqRca5yshyt0JkofIroziomU2IILqJ/7WI5BU=; b=js2bGcJ8OZRj0DNimRtksmt1Y3wOFhkgn+rf78SYF5iepRe8hX2wqbJb06IgpXF28r VixdXcjs4uQjyKj7/D6mfy+G9asXFIjfn11cb6Pq7BrujIme0eBA1CqKf71UgNaCZDxK 0DNjmffH1/V85h6ZZ7Vcid8rRsRq1KjsbyUKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:mime-version:subject:date:x-mailer; b=BxVeUC7xKUGA7/4LZwA8wWyI+hcGeoyvaXGSEP7Q2B4H2T3yFIVCrXqQiJKgWkG8nT jEufmbHNpsDCrT0e+rW3829nrz/Vc0C7u9Arh005Mm8Gxa3deyuFxw7WRXJ9R4RuVdQX 1+MzVZ8BhbkLzph9ftMQdGPWYVyWyUNzVkIHw= Received: by 10.223.107.198 with SMTP id c6mr1636052fap.32.1235164926101; Fri, 20 Feb 2009 13:22:06 -0800 (PST) Received: from whopper.dev.wtbts.net ([208.74.141.8]) by mx.google.com with ESMTPS id 34sm5245440nfu.77.2009.02.20.13.22.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 20 Feb 2009 13:22:04 -0800 (PST) Message-Id: From: Michael Mason To: alpine-devel@lists.alpinelinux.org Content-Type: multipart/mixed; boundary=Apple-Mail-14--840316223 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 (Apple Message framework v930.3) Subject: [alpine-devel] extra/cutter Date: Fri, 20 Feb 2009 21:22:01 +0000 X-Mailer: Apple Mail (2.930.3) --Apple-Mail-14--840316223 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Please apply. I hope this is the correct one from the list... --Apple-Mail-14--840316223 Content-Disposition: attachment; filename=0001-Adding-cutter-APKBUILD.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Adding-cutter-APKBUILD.patch" Content-Transfer-Encoding: quoted-printable =46rom=20441815fe3fab31dd4c39f1211690d92252df0bff=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20ms13sp=20=0ADate:=20Fri,=20= 20=20Feb=202009=2021:18:33=20+0000=0ASubject:=20[PATCH]=20Adding=20= cutter=20APKBUILD=0A=0A---=0A=20extra/cutter/APKBUILD=20|=20=20=2030=20= ++++++++++++++++++++++++++++++=0A=201=20files=20changed,=2030=20= insertions(+),=200=20deletions(-)=0A=20create=20mode=20100644=20= extra/cutter/APKBUILD=0A=0Adiff=20--git=20a/extra/cutter/APKBUILD=20= b/extra/cutter/APKBUILD=0Anew=20file=20mode=20100644=0Aindex=20= 0000000..66c8a43=0A---=20/dev/null=0A+++=20b/extra/cutter/APKBUILD=0A@@=20= -0,0=20+1,30=20@@=0A+#=20Contributor:=20ms13sp=20=0A+#=20= Maintainer:=20ms13sp=20=0A+pkgname=3Dcutter=0A= +pkgver=3D1.03=0A+pkgrel=3D0=0A+pkgdesc=3D"An=20open=20source=20program=20= that=20allows=20Linux=20firewall=20administrators=20to=20abort=20TCP/IP=20= connections=20routed=20over=20the=20firewall=20or=20router=20on=20which=20= it=20is=20run."=0A+url=3D"http://www.lowth.com/cutter"=0A+license=3D"GPL"=0A= +depends=3D""=0A+makedepends=3D""=0A+install=3D=0A+subpackages=3D""=0A= +source=3D"http://www.lowth.com/cutter/software/$pkgname-$pkgver.tgz"=0A= +=0A+build()=20{=0A+=09cd=20"$srcdir/$pkgname-$pkgver"=0A+=09#no=20make=20= install=20and=20no=20configure=20script=0A+=0A+=09make=20||=20return=201=0A= +=09=0A+=09mkdir=20-p=20"$pkgdir"/usr/sbin/=20=0A+=09=0A+=09install=20= -m755=20-D=20"$srcdir"/"$pkgname"-"$pkgver"/"$pkgname"=20= "$pkgdir"/usr/sbin/"$pkgname"=0A+=09=0A+=09#make=20DESTDIR=3D"$pkgdir"=20= install=0A+=09#=20install=20-m755=20-D=20"$srcdir"/$pkgname.initd=20= "$pkgdir"/etc/init.d/$pkgname=0A+=09#=20install=20-m644=20-D=20= "$srcdir"/$pkgname.confd=20"$pkgdir"/etc/conf.d/$pkgname=0A+}=0A+=0A= +md5sums=3D"50093db9b64277643969ee75b83ebbd1=20=20cutter-1.03.tgz"=0A--=20= =0A1.6.1.3=0A=0A= --Apple-Mail-14--840316223 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit --Apple-Mail-14--840316223-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org --- From nobody Thu Mar 28 12:30:58 2024 X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by lists.alpinelinux.org (Postfix) with ESMTP id 8EFA8170000BA for ; Mon, 23 Feb 2009 12:55:12 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id 16so1793455fgg.25 for ; Mon, 23 Feb 2009 04:55:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=MBWMEulCM9P5O2Cjc68JUvnthLhsUJoDT01RVWxfdFA=; b=O1VKJ3nip1Mz8WPjukzR1aQy3wOLzd9JUlBvBkyUDED5fs9cgYoOE1yevsqvdMtd+5 0mcjJekdM/vka5mBKPCmGLgeTV+HnIz8ehatjhXqKgtUfGxzFvU0N1dBPvKEPr7VsKv2 FripSW3BAx9DkU30QdAM6OfiB3rcVa4Sqg8Dg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=iO8eRTGgmqIpM8qXi/uFw4MDwSyTthWE4KizWwQejC08YT9aY8f7yVH6ExDrBWIzPO toNxFYu6fIr/7yo0II6tevebdPUd1Zvm0ZuSdBR30uA9luaMovaBpU+eWddL8tDt6A+2 95UOEh8F+fw3+MVVa0TAgPEZSdlnSfiLA+wto= Received: by 10.86.100.19 with SMTP id x19mr2879359fgb.29.1235393710752; Mon, 23 Feb 2009 04:55:10 -0800 (PST) Received: from ?10.65.65.1? (149-182-13.oke2-bras2.adsl.tele2.no [90.149.182.13]) by mx.google.com with ESMTPS id l19sm7649742fgb.47.2009.02.23.04.55.08 (version=SSLv3 cipher=RC4-MD5); Mon, 23 Feb 2009 04:55:09 -0800 (PST) Subject: Re: [alpine-devel] extra/cutter From: Natanael Copa To: Michael Mason Cc: alpine-devel@lists.alpinelinux.org In-Reply-To: References: Content-Type: text/plain Date: Mon, 23 Feb 2009 13:55:07 +0100 Message-Id: <1235393707.992.43.camel@nc> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.24.4 Content-Transfer-Encoding: 7bit On Fri, 2009-02-20 at 21:22 +0000, Michael Mason wrote: > Please apply. > I hope this is the correct one from the list... Looks good. please see the comments below. > > > > > > > differences > between files > attachment > (0001-Adding-cutter-APKBUILD.patch) > > From 441815fe3fab31dd4c39f1211690d92252df0bff Mon Sep 17 00:00:00 2001 > From: ms13sp > Date: Fri, 20 Feb 2009 21:18:33 +0000 > Subject: [PATCH] Adding cutter APKBUILD > > --- > extra/cutter/APKBUILD | 30 ++++++++++++++++++++++++++++++ > 1 files changed, 30 insertions(+), 0 deletions(-) > create mode 100644 extra/cutter/APKBUILD > > diff --git a/extra/cutter/APKBUILD b/extra/cutter/APKBUILD > new file mode 100644 > index 0000000..66c8a43 > --- /dev/null > +++ b/extra/cutter/APKBUILD > @@ -0,0 +1,30 @@ > +# Contributor: ms13sp > +# Maintainer: ms13sp > +pkgname=cutter > +pkgver=1.03 > +pkgrel=0 > +pkgdesc="An open source program that allows Linux firewall administrators to abort TCP/IP connections routed over the firewall or router on which it is run." I feel this is a bit to long. Could we shorten down the description? Not critical, but would be nice. > +url="http://www.lowth.com/cutter" > +license="GPL" > +depends="" nclab01:~/aports/extra/cutter$ scanelf -Rn pkg/ TYPE NEEDED FILE ET_DYN libc.so.0,ld-uClibc.so.0 pkg/usr/sbin/cutter uclibc needs to be in depends. > +makedepends="" > +install= > +subpackages="" > +source="http://www.lowth.com/cutter/software/$pkgname-$pkgver.tgz" > + > +build() { > + cd "$srcdir/$pkgname-$pkgver" > + #no make install and no configure script > + > + make || return 1 > + > + mkdir -p "$pkgdir"/usr/sbin/ > + > + install -m755 -D "$srcdir"/"$pkgname"-"$pkgver"/"$pkgname" "$pkgdir"/usr/sbin/"$pkgname" ^^^ you dont really need "" around pkgname and pkgver since those are not allowed to have spaces. They dont hurt though. Dirs should always have them or things will go wrong if there are spaces in the path somewhere. Also, since you already are in $srcdir/$pkgname-$pkgdir you could have done: install -m755 -D cutter "$pkgdir"/usr/sbin/cutter (i use cutter since its the name of the binary file, not the package itself. but that is just a question of taste. $pkgname there is fully ok.) > + > + #make DESTDIR="$pkgdir" install > + # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname > + # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname those are dead code and should preferrible be removed. > +} > + > +md5sums="50093db9b64277643969ee75b83ebbd1 cutter-1.03.tgz" > -- > 1.6.1.3 I commit as is. Please send a new patch that at least adds uclibc to depends. the rest of the suggestions are optional. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---