aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-06-11 09:29:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-06-11 09:31:07 +0000
commitc4a463529f3646820e5974346162d23e9129b008 (patch)
tree3455610cb2a27a17b6e41913ddf91b239622770c
parent9e53e215d8bbbec9dd0dafe2b59a2d6d96454fad (diff)
downloadaports-c4a463529f3646820e5974346162d23e9129b008.tar.bz2
aports-c4a463529f3646820e5974346162d23e9129b008.tar.xz
main/arpwatch: remove unneded patch
We never applied it anyways.
-rw-r--r--main/arpwatch/APKBUILD6
-rw-r--r--main/arpwatch/CVE-2012-2653.patch12
2 files changed, 2 insertions, 16 deletions
diff --git a/main/arpwatch/APKBUILD b/main/arpwatch/APKBUILD
index b7dab0be59..662d958059 100644
--- a/main/arpwatch/APKBUILD
+++ b/main/arpwatch/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=arpwatch
pkgver=2.1a15
-pkgrel=4
+pkgrel=5
pkgdesc="Ethernet monitoring program"
url="http://www-nrg.ee.lbl.gov/"
arch="all"
@@ -12,7 +12,6 @@ makedepends="libpcap-dev"
install=
subpackages=""
source="ftp://ftp.ee.lbl.gov/$pkgname.tar.gz
- CVE-2012-2653.patch
arpwatch.confd
arpwatch.initd"
@@ -20,7 +19,7 @@ prepare() {
cd "$srcdir/$pkgname-$pkgver"
for i in $source; do
case $i in
- *.oatch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
@@ -47,6 +46,5 @@ package() {
}
md5sums="cebfeb99c4a7c2a6cee2564770415fe7 arpwatch.tar.gz
-af7d5a6cddca6c31fe84acd1d5209c8b CVE-2012-2653.patch
dc8300ce5f02d6be95899a2982397064 arpwatch.confd
51ecada198c4f954ac4d5f5903198ebb arpwatch.initd"
diff --git a/main/arpwatch/CVE-2012-2653.patch b/main/arpwatch/CVE-2012-2653.patch
deleted file mode 100644
index c37b5132ed..0000000000
--- a/main/arpwatch/CVE-2012-2653.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -u arpwatch-2.1a15/arpwatch.c arpwatch-2.1a15/arpwatch.c
---- arpwatch-2.1a15/arpwatch.c
-+++ arpwatch-2.1a15/arpwatch.c
-@@ -153,7 +153,7 @@
- struct passwd* pw;
- pw = getpwnam( user );
- if ( pw ) {
-- if ( initgroups(pw->pw_name, 0) != 0 || setgid(pw->pw_gid) != 0 ||
-+ if ( initgroups(pw->pw_name, pw->pw_gid) != 0 || setgid(pw->pw_gid) != 0 ||
- setuid(pw->pw_uid) != 0 ) {
- syslog(LOG_ERR, "Couldn't change to '%.32s' uid=%d gid=%d", user,pw->pw_uid, pw->pw_gid);
- exit(1);