summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 04:28:48 +0100
committerLukc <lukc@upyum.com>2010-12-12 04:28:48 +0100
commita02af57a5fbdf46aa5ae447fe8c4f0b3fb48b4f6 (patch)
tree46a332a49de15d99d0cfd15a5b6e9064e5355f5e
parent26bc8316f9a9ccb4bf2bff1a5b72b6d5f6a4b0f1 (diff)
downloadopt-a02af57a5fbdf46aa5ae447fe8c4f0b3fb48b4f6.tar.gz
opt-a02af57a5fbdf46aa5ae447fe8c4f0b3fb48b4f6.tar.bz2
opt-a02af57a5fbdf46aa5ae447fe8c4f0b3fb48b4f6.tar.xz
opt-a02af57a5fbdf46aa5ae447fe8c4f0b3fb48b4f6.zip
Recette de sudo ajout?e.
-rw-r--r--gzip/Pkgfile.old30
-rw-r--r--sudo/.footprint35
-rw-r--r--sudo/.md5sum1
-rw-r--r--sudo/.sha256sum1
-rw-r--r--sudo/Pkgfile26
-rw-r--r--sudo/Pkgfile.old27
6 files changed, 90 insertions, 30 deletions
diff --git a/gzip/Pkgfile.old b/gzip/Pkgfile.old
deleted file mode 100644
index f916b2a..0000000
--- a/gzip/Pkgfile.old
+++ /dev/null
@@ -1,30 +0,0 @@
-# Description: GNU compression utility (replacement for compress)
-# URL: http://www.gzip.org/
-# Maintainer: CRUX System Team, core-ports at crux dot nu
-
-name=gzip
-version=1.4
-release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
-
-build() {
- cd $name-$version
- ./configure --prefix=/usr --mandir=/usr/man
- make
- make DESTDIR=$PKG install
-
- mkdir -p $PKG/bin
- mv $PKG/usr/bin/{gzip,gunzip,zcat} $PKG/bin
-
- rm $PKG/usr/man/man1/{gunzip.1,zcat.1,zcmp.1}
- ln -sf gzip.1.gz $PKG/usr/man/man1/gunzip.1.gz
- ln -sf gzip.1.gz $PKG/usr/man/man1/zcat.1.gz
- ln -sf zdiff.1.gz $PKG/usr/man/man1/zcmp.1.gz
-
- # make uncompress a symlink to gunzip, since it will not work
- # if / and /usr are on different file systems.
- rm $PKG/usr/bin/uncompress
- ln -s /bin/gunzip $PKG/usr/bin/uncompress
-
- rm -r $PKG/usr/share
-}
diff --git a/sudo/.footprint b/sudo/.footprint
new file mode 100644
index 0000000..a13b74b
--- /dev/null
+++ b/sudo/.footprint
@@ -0,0 +1,35 @@
+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/
+---s--x--x root/root usr/bin/sudo
+lrwxrwxrwx root/root usr/bin/sudoedit -> sudo
+---x--x--x root/root usr/bin/sudoreplay
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/sudo_noexec.so
+drwxr-xr-x root/root usr/sbin/
+---x--x--x root/root usr/sbin/visudo
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/doc/
+drwxr-xr-x root/root usr/share/doc/sudo/
+-r--r--r-- root/root usr/share/doc/sudo/ChangeLog
+-r--r--r-- root/root usr/share/doc/sudo/HISTORY
+-r--r--r-- root/root usr/share/doc/sudo/LICENSE
+-r--r--r-- root/root usr/share/doc/sudo/NEWS
+-r--r--r-- root/root usr/share/doc/sudo/README
+-r--r--r-- root/root usr/share/doc/sudo/TROUBLESHOOTING
+-r--r--r-- root/root usr/share/doc/sudo/UPGRADE
+-r--r--r-- root/root usr/share/doc/sudo/sample.pam
+-r--r--r-- root/root usr/share/doc/sudo/sample.sudoers
+-r--r--r-- root/root usr/share/doc/sudo/sample.syslog.conf
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man5/
+-r--r--r-- root/root usr/share/man/man5/sudoers.5.bz2
+drwxr-xr-x root/root usr/share/man/man8/
+-r--r--r-- root/root usr/share/man/man8/sudo.8.bz2
+-r--r--r-- root/root usr/share/man/man8/sudoreplay.8.bz2
+-r--r--r-- root/root usr/share/man/man8/visudo.8.bz2
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwx------ root/root var/lib/sudo/
diff --git a/sudo/.md5sum b/sudo/.md5sum
new file mode 100644
index 0000000..43f57cc
--- /dev/null
+++ b/sudo/.md5sum
@@ -0,0 +1 @@
+55d9906535d70a1de347cd3d3550ee87 sudo-1.7.4p4.tar.gz
diff --git a/sudo/.sha256sum b/sudo/.sha256sum
new file mode 100644
index 0000000..814adc1
--- /dev/null
+++ b/sudo/.sha256sum
@@ -0,0 +1 @@
+38de3c3e08346b2b8dcb3cf7ed0813300d1a1d5696d0f338ea8a4ef232aacf97 sudo-1.7.4p4.tar.gz
diff --git a/sudo/Pkgfile b/sudo/Pkgfile
new file mode 100644
index 0000000..22289b1
--- /dev/null
+++ b/sudo/Pkgfile
@@ -0,0 +1,26 @@
+description="Sudo (superuser do)."
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
+url="http://www.sudo.ws/sudo/"
+depends=()
+
+name=sudo
+version=1.7.4p4
+release=1
+source=(http://www.sudo.ws/sudo/dist/$name-$version.tar.gz)
+build ()
+{
+ cd $name-$version;
+ ./configure \
+ --prefix=$prefix \
+ --libexecdir=$libdir \
+ --mandir=$mandir \
+ --with-logfac=auth \
+ --with-timedir=/var/lib/sudo \
+ --without-pam;
+ make;
+ make DESTDIR=$PKG install;
+ chmod 0755 $PKG/{var,var/lib};
+ ln -sf sudo $PKG$bindir/sudoedit;
+ ln -sf sudo.8.gz $PKG$mandir/man8/sudoedit.8
+}
diff --git a/sudo/Pkgfile.old b/sudo/Pkgfile.old
new file mode 100644
index 0000000..267db8a
--- /dev/null
+++ b/sudo/Pkgfile.old
@@ -0,0 +1,27 @@
+# Description: Sudo (superuser do)
+# URL: http://www.sudo.ws/sudo/
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+
+name=sudo
+version=1.7.4p4
+release=1
+source=(http://www.sudo.ws/$name/dist/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --mandir=/usr/man \
+ --with-logfac=auth \
+ --with-timedir=/var/lib/sudo \
+ --without-pam
+
+ make
+ make DESTDIR=$PKG install
+
+ chmod 0755 $PKG/{var,var/lib}
+ rm -r $PKG/usr/share
+ ln -sf sudo $PKG/usr/bin/sudoedit
+ ln -sf sudo.8.gz $PKG/usr/man/man8/sudoedit.8
+}