Subject: [alpine-devel] new aport bbsuid

From: "Carlo Landmeter" <[email-masked]>
Date: Tue, 27 Jan 2009 19:54:38 +0000

Hi,

New aport bbsuid. 

Natanael, the makefile in bbsuid doesn't seem to work for "make install" i think there is an 'S' too much in TARGETS.
I've also add crontab to bbsuid cause i needed it :)

br,

Carlo

From 47a00a36d53f8c0c691b3cc1d1122d797a4ff666 Mon Sep 17 00:00:00 2001
From: Carlo Landmeter <[email-masked]>
Date: Tue, 27 Jan 2009 19:50:54 +0000
Subject: [PATCH] extra/bbsuid: new abuild

---
 extra/bbsuid/APKBUILD |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 extra/bbsuid/APKBUILD

diff --git a/extra/bbsuid/APKBUILD b/extra/bbsuid/APKBUILD
new file mode 100644
index 0000000..bc8eb15
--- /dev/null
+++ b/extra/bbsuid/APKBUILD
@@ -0,0 +1,22 @@
+# Maintainer: Carlo Landmeter <clandmeter at gmail>
+pkgname=bbsuid
+pkgver=0.1
+pkgrel=0
+pkgdesc="Busybox SUID root application wrapper"
+url="http://dev.alpinelinux.org/alpine/bbsuid"
+license="AS IS"
+depends="busybox"
+makedepends=""
+source="http://dev.alpinelinux.org/alpine/bbsuid/bbsuid-0.1.tar.gz"
+
+build() {
+	cd "$srcdir/$pkgname-$pkgver"
+	make || return 1
+	install -Dm4755 su "$pkgdir"/bin/su || return 1
+	install -dD "$pkgdir"/usr/bin || return 1
+	cd "$pkgdir"/bin 
+	ln su ../usr/bin/passwd || return 1
+	ln su ../usr/bin/crontab || return 1
+}
+
+md5sums="0bfbc65a0120fa1d9718b1ffe8c25bbe  bbsuid-0.1.tar.gz"
-- 
1.6.1

---

From: Natanael Copa <[email-masked]>
Date: Wed, 28 Jan 2009 09:43:16 +0100

On Tue, 2009-01-27 at 19:54 +0000, Carlo Landmeter wrote:
> Hi,
> 
> New aport bbsuid. 
> 
> Natanael, the makefile in bbsuid doesn't seem to work for "make
> install" i think there is an 'S' too much in TARGETS.

I updated bbsuid to fetch releases via cgit (much more convenient), i
updated bbsuid to include crontab and made a bbsuid-0.2 release.

I created an APKBUILD for it before I saw this email. Sorry.

Thank you for the feedback!

-nc

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---