CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
sudo: added new port
authorVictor Martinez <pitillo@ono.com>
Mon, 16 Nov 2015 08:47:26 +0000 (08:47 +0000)
committerVictor Martinez <pitillo@ono.com>
Mon, 16 Nov 2015 08:47:26 +0000 (08:47 +0000)
sudo/.footprint [new file with mode: 0644]
sudo/.md5sum [new file with mode: 0644]
sudo/Pkgfile [new file with mode: 0644]

diff --git a/sudo/.footprint b/sudo/.footprint
new file mode 100644 (file)
index 0000000..dc93a98
--- /dev/null
@@ -0,0 +1,43 @@
+drwxr-xr-x     root/root       etc/
+-r--r-----     root/root       etc/sudoers
+drwxr-x---     root/root       etc/sudoers.d/
+drwxr-xr-x     root/root       usr/
+drwxr-xr-x     root/root       usr/bin/
+-rwsr-xr-x     root/root       usr/bin/sudo
+lrwxrwxrwx     root/root       usr/bin/sudoedit -> sudo
+-rwxr-xr-x     root/root       usr/bin/sudoreplay
+drwxr-xr-x     root/root       usr/include/
+-rw-r--r--     root/root       usr/include/sudo_plugin.h
+drwxr-xr-x     root/root       usr/lib/
+drwxr-xr-x     root/root       usr/lib/sudo/
+-rw-r--r--     root/root       usr/lib/sudo/group_file.la
+-rw-r--r--     root/root       usr/lib/sudo/group_file.so
+-rw-r--r--     root/root       usr/lib/sudo/libsudo_util.la
+lrwxrwxrwx     root/root       usr/lib/sudo/libsudo_util.so -> libsudo_util.so.0.0.0
+lrwxrwxrwx     root/root       usr/lib/sudo/libsudo_util.so.0 -> libsudo_util.so.0.0.0
+-rwxr-xr-x     root/root       usr/lib/sudo/libsudo_util.so.0.0.0
+-rw-r--r--     root/root       usr/lib/sudo/sudo_noexec.la
+-rw-r--r--     root/root       usr/lib/sudo/sudo_noexec.so
+-rw-r--r--     root/root       usr/lib/sudo/sudoers.la
+-rw-r--r--     root/root       usr/lib/sudo/sudoers.so
+-rw-r--r--     root/root       usr/lib/sudo/system_group.la
+-rw-r--r--     root/root       usr/lib/sudo/system_group.so
+drwxr-xr-x     root/root       usr/sbin/
+-rwxr-xr-x     root/root       usr/sbin/visudo
+drwxr-xr-x     root/root       usr/share/
+drwxr-xr-x     root/root       usr/share/man/
+drwxr-xr-x     root/root       usr/share/man/man5/
+-rw-r--r--     root/root       usr/share/man/man5/sudo.conf.5.gz
+-rw-r--r--     root/root       usr/share/man/man5/sudoers.5.gz
+drwxr-xr-x     root/root       usr/share/man/man8/
+-rw-r--r--     root/root       usr/share/man/man8/sudo.8.gz
+-rw-r--r--     root/root       usr/share/man/man8/sudo_plugin.8.gz
+lrwxrwxrwx     root/root       usr/share/man/man8/sudoedit.8.gz -> sudo.8.gz
+-rw-r--r--     root/root       usr/share/man/man8/sudoreplay.8.gz
+-rw-r--r--     root/root       usr/share/man/man8/visudo.8.gz
+drwxr-xr-x     root/root       var/
+drwxr-xr-x     root/root       var/lib/
+drwx--x--x     root/root       var/lib/sudo/
+drwx------     root/root       var/lib/sudo/lectured/
+drwxr-xr-x     root/root       var/run/
+drwx--x--x     root/root       var/run/sudo/
diff --git a/sudo/.md5sum b/sudo/.md5sum
new file mode 100644 (file)
index 0000000..9700c14
--- /dev/null
@@ -0,0 +1 @@
+93dbd1e47c136179ff1b01494c1c0e75  sudo-1.8.14p3.tar.gz
diff --git a/sudo/Pkgfile b/sudo/Pkgfile
new file mode 100644 (file)
index 0000000..eb81bbd
--- /dev/null
@@ -0,0 +1,29 @@
+# Description: Sudo (superuser do)
+# URL: http://www.sudo.ws/sudo/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: zlib
+
+name=sudo
+version=1.8.14p3
+release=2
+source=(http://www.sudo.ws/$name/dist/$name-$version.tar.gz)
+
+build() {
+  cd $name-$version
+
+  ./configure --build=$CHOST \
+              --host=$CTARGET \
+              --prefix=/usr \
+              --libexecdir=/usr/lib \
+              --with-logfac=auth \
+              --with-vardir=/var/lib/sudo \
+              --with-rundir=/var/run/sudo \
+              --without-pam \
+              --disable-nls
+
+  make
+  make DESTDIR=$PKG install
+
+  rm -r $PKG/usr/share/doc
+}