//FreeBSD/mac_settime/trunk/bin/clear_src.sh |
---|
0,0 → 1,31 |
#!/bin/sh |
# |
# delete our patches from /usr/src |
# to prepare for system update |
# |
# to update the system run as root |
# ./clear_src.sh && cvsup src_update && ./copy_orig.sh && ./update_src.sh |
# |
# then run ./get_diffs.sh as user and examine the diffs |
# |
PATCHED_FILES_KERN="sys/kern/kern_time.c sys/kern/kern_ntptime.c" |
PATCHED_FILES_MODULE="sys/conf/files sys/modules/Makefile" |
PATCHED_FILES_NTP="contrib/ntp/ntpd/ntpd.c" |
BIN_DIR=`dirname $0` |
SRCDIR=/usr/src |
for f in ${PATCHED_FILES_KERN} ; do |
rm "${SRCDIR}/$f" "${SRCDIR}/$f.orig" |
done |
for f in ${PATCHED_FILES_MODULE} ; do |
rm "${SRCDIR}/$f" "${SRCDIR}/$f.orig" |
done |
for f in ${PATCHED_FILES_NTP} ; do |
rm "${SRCDIR}/$f" "${SRCDIR}/$f.orig" |
done |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |
//FreeBSD/mac_settime/trunk/bin/update_src.sh |
---|
1,5 → 1,14 |
#!/bin/sh |
# |
# copy our version of files to system |
# |
# to update the system run as root |
# ./clear_src.sh && cvsup src_update && ./copy_orig.sh && ./update_src.sh |
# |
# then run ./get_diffs.sh as user and examine the diffs |
# |
BIN_DIR=`dirname $0` |
BASE_DIR="${BIN_DIR}/.." |
//FreeBSD/mac_settime/trunk/bin/copy_orig.sh |
---|
0,0 → 1,31 |
#!/bin/sh |
# |
# make copy of all standard files in /usr/src |
# which we want to work on to get diffs later |
# |
# to update the system run as root |
# ./clear_src.sh && cvsup src_update && ./copy_orig.sh && ./update_src.sh |
# |
# then run ./get_diffs.sh as user and examine the diffs |
# |
PATCHED_FILES_KERN="sys/kern/kern_time.c sys/kern/kern_ntptime.c" |
PATCHED_FILES_MODULE="sys/conf/files sys/modules/Makefile" |
PATCHED_FILES_NTP="contrib/ntp/ntpd/ntpd.c" |
BIN_DIR=`dirname $0` |
SRCDIR=/usr/src |
for f in ${PATCHED_FILES_KERN} ; do |
cp "${SRCDIR}/$f" "${SRCDIR}/$f.orig" |
done |
for f in ${PATCHED_FILES_MODULE} ; do |
cp "${SRCDIR}/$f" "${SRCDIR}/$f.orig" |
done |
for f in ${PATCHED_FILES_NTP} ; do |
cp "${SRCDIR}/$f" "${SRCDIR}/$f.orig" |
done |
Property changes: |
Added: svn:executable |
+* |
\ No newline at end of property |