Changeset 1574


Ignore:
Timestamp:
May 23, 2012, 1:13:10 PM (5 years ago)
Author:
bruno
Message:

Adding pbcl for afio

Location:
devel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • devel/pb/t/pbtest

    r1573 r1574  
    1717TESTVMISO="/users/bruno/iso/Fedora-16-i386-DVD.iso"
    1818
    19 grep -q pbtest /etc/passwd
    20 if [ $? -eq 0 ]; then
    21     sudo rm -rf ~pbtest/* ~pbtest/.??*
    22     sudo groupdel pbtest
    23     sudo userdel pbtest
    24 fi
     19sudo rm -rf ~pbtest/* ~pbtest/.??*
     20sudo userdel pbtest
     21sudo groupdel pbtest
    2522sudo useradd pbtest
    2623sudo grep -q pbtest /etc/sudoers
     
    3734fi
    3835# Force pbtest account
    39 perm -pi -e 's|^pbtest:.*|pbtest:$2a$08$2Q.tEty4v/fU0RyPeDelk.AjLAtXUXU3DpSs/l/8YrFmau1LJRCqC:15483:0:99999:7:::|' /etc/shadow
     36sudo perl -pi -e 's|^pbtest:.*|pbtest:$2a$08$2Q.tEty4v/fU0RyPeDelk.AjLAtXUXU3DpSs/l/8YrFmau1LJRCqC:15483:0:99999:7:::|' /etc/shadow
    4037PBTEST="`echo ~pbtest`"
    4138
     
    5047sudo mv /tmp/authz ~pbtest/svn/conf/authz
    5148cat >> /tmp/passwd << EOF
     49[users]
    5250pbtest = pbtest
    5351EOF
     
    5957anon-access = read
    6058auth-access = write
    61 realm pb
    6259EOF
    6360sudo mv /tmp/svnserve.conf ~pbtest/svn/conf/svnserve.conf
     
    109106sudo su - pbtest -c "cp .ssh/id_rsa.pub .ssh/authorized_keys ; chmod 600 .ssh/authorized_keys ; chmod 600 .ssh/id_rsa.pub"
    110107sudo su - pbtest -c "ssh localhost touch ftp/README"
    111 sudo su - pbtest -c "svn import pb svn://localhost/pb -m 'Initial creation of pb repo'"
     108
     109# Create SVN conf files
     110sudo su - pbtest -c "svn info"
     111cat > /tmp/servers << EOF
     112store-passwords = yes
     113store-plaintext-passwords = yes
     114store-auth-creds =yes
     115EOF
     116sudo mv /tmp/servers ~pbtest/.subversion/servers
     117sudo chown pbtest:pbtest ~pbtest/.subversion/servers
     118
     119sudo su - pbtest -c "svn import pb svn://localhost/pb -m 'Initial creation of pb repo' --username pbtest --password pbtest"
    112120sudo su - pbtest -c "cd pb ; svn co svn://localhost/pb ."
     121sudo su - pbtest -c "cd pb ; touch README ; svn ci --username pbtest --password pbtest"
    113122sudo su - pbtest -c "pb -p afio newproj afio"
    114123cat >> /tmp/afio.pb << EOF
     
    185194EOF
    186195sudo mv /tmp/afio.docs ~pbtest/pb/afio/pbconf/afio/deb/afio.docs
     196sudo chown pbtest:pbtest ~pbtest/pb/afio/pbconf/afio/deb/afio.docs
    187197
    188198sudo perl -pi -e 's|config.status: configure|config.status: Makefile|' ~pbtest/pb/afio/pbconf/afio/deb/rules
Note: See TracChangeset for help on using the changeset viewer.