[evoke] r1235 committed - * Initiate a hostile takeover, in.tftpd from tftp-hpa will replace tft...

0 views
Skip to first unread message

codesite...@google.com

unread,
Sep 3, 2009, 7:28:42 PM9/3/09
to evoke-...@googlegroups.com
Revision: 1235
Author: heliocentric
Date: Thu Sep 3 16:22:30 2009
Log: * Initiate a hostile takeover, in.tftpd from tftp-hpa will replace
tftpd, as it supports a non-inetd run mechanism.


http://code.google.com/p/evoke/source/detail?r=1235

Modified:
/trunk/build.sh
/trunk/builder/dynamic.sh
/trunk/builder/portlist

=======================================
--- /trunk/build.sh Tue Aug 4 18:02:00 2009
+++ /trunk/build.sh Thu Sep 3 16:22:30 2009
@@ -47,7 +47,7 @@
kldconfig kldload kldstat kldunload less link ln login ls md5 mdconfig
mdmfs mkdir more mount moused mv nc newfs pciconf ping powerd ps pwd cut
uname mount_nullfs
printf pwd_mkdb reboot rm route sed sh sha1 sha256 ssh ssh-keygen sshd stty
-swapon swapoff swapinfo syslogd tail tar tcsh tftp tftpd top umount sysctl
+swapon swapoff swapinfo syslogd tail tar tcsh tftp top umount sysctl
uniq unlink usbdevs vidcontrol whoami zcat sort pfctl du makefs
mount_msdosfs getextattr setextattr devinfo newfs_msdos stat dirname lsvfs
rtsol egrep mount_cd9660 rmdir gpt tr file bsdiff bspatch savecore dumpon
runterm
=======================================
--- /trunk/builder/dynamic.sh Fri Aug 28 08:18:37 2009
+++ /trunk/builder/dynamic.sh Thu Sep 3 16:22:30 2009
@@ -242,7 +242,14 @@
${CROSSTOOLSPATH}/strip --remove-section=.note --remove-section=.comment
--strip-unneeded ${PROGS}
tar -cLf - ${PROGS} | tar -xpf - -C ${FSDIR}${N_BIN}/
cd ${FSDIR}${N_BIN}
-
+ for binary in $(grep -v ^# ${BUILDDIR}/portlist | grep ^B: | cut -d : -f
2,5)"
+ do
+ STARTNAME="$(echo ${binary} | cut -d : -f 1)"
+ ENDNAME="$(echo ${binary} | cut -d : -f 1)"
+ if [ "${ENDNAME}" != "" ] ; then
+ mv "${STARTNAME}" "${ENDNAME}"
+ fi
+ done

# Strip all the libs too for good measure
cd ${OBJDIR}
=======================================
--- /trunk/builder/portlist Fri Jul 17 16:20:51 2009
+++ /trunk/builder/portlist Thu Sep 3 16:22:30 2009
@@ -39,3 +39,4 @@
#B:pidgin:net-im/pidgin:
#D:/usr/local/share/pidgin:net-im:binshare:
B:ddrescue:sysutils/ddrescue:
+B:in.tftpd:ftp/tftp-hpa::tftpd:

Reply all
Reply to author
Forward
0 new messages