Author: jhuntwork
Date: 2005-11-22 08:52:56 -0700 (Tue, 22 Nov 2005)
New Revision: 1143

Added:
   trunk/packages/sudo/
   trunk/packages/sudo/Makefile
Modified:
   trunk/Makefile
   trunk/TODO
Log:
Initial addition of sudo

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile      2005-11-22 15:48:42 UTC (rev 1142)
+++ trunk/Makefile      2005-11-22 15:52:56 UTC (rev 1143)
@@ -273,7 +273,7 @@
        ch-startup-notification chroot-gvim ch-xfce ch-vte ch-exo \
        ch-XML-Parser ch-Terminal ch-irssi \
        ch-xchat ch-wireless_tools ch-tcpwrappers ch-portmap ch-nfs-utils \
-       ch-traceroute ch-rsync ch-jhalfs \
+       ch-traceroute ch-rsync ch-jhalfs ch-sudo \
        ch-dialog ch-ncftp ch-pciutils ch-nALFS ch-device-mapper ch-LVM2 \
        ch-dhcpcd ch-distcc ch-ppp ch-rp-pppoe ch-libaal ch-reiser4progs \
        ch-squashfs ch-cpio ch-gdbm ch-mutt ch-msmtp ch-tin ch-mdadm ch-which \

Modified: trunk/TODO
===================================================================
--- trunk/TODO  2005-11-22 15:48:42 UTC (rev 1142)
+++ trunk/TODO  2005-11-22 15:52:56 UTC (rev 1143)
@@ -4,4 +4,3 @@
 
 *  Update README/documentation for Makefiles [in progress]
 
-*  Add sudo, rsync, jhalfs

Added: trunk/packages/sudo/Makefile
===================================================================
--- trunk/packages/sudo/Makefile        2005-11-22 15:48:42 UTC (rev 1142)
+++ trunk/packages/sudo/Makefile        2005-11-22 15:52:56 UTC (rev 1143)
@@ -0,0 +1,30 @@
+# sudo Makefile
+
+NM= sudo
+VRS= 1.6.8p12
+DIR= $(NM)-$(VRS)
+
+FILE= $(DIR).tar.gz
+URL-$(FILE)= http://www.courtesan.com/sudo/dist/$(FILE)
+SHA-$(FILE)= a79631e9e1c0d0d3f2aa88ae685628e5fde61982
+
+# Targets
+
+include $(ROOT)/scripts/functions
+
+chroot:
+       chroot "$(MP)" $(chenv-blfs) \
+       'cd $(ROOT) && make ch-$(NM) $(chbash-post-bash)'
+
+stage2: Makefile $(FILE)
+       $(std_build)
+
+compile-stage2:
+       ./configure --prefix=/usr
+       make $(PM)
+       make install
+
+clean:
+       -rm -rf $(DIR)
+
+.PHONY: clean chroot compile-stage2

-- 
http://linuxfromscratch.org/mailman/listinfo/livecd
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to