Release Upstream

# choose version number
echo "VERSION=`date +"%Y%m%d"`"
VERSION=`date +"%Y%m%d"`
VERSION=20060821
echo $VERSION

# check and fix versions
emacsclient Makefile
emacsclient NEWS
emacsclient TODO
emacsclient pptpconfig.spec

# commit version changes to cvs
cvs diff > tmp.diff
emacsclient tmp.diff
cvs commit -m "pre-release $VERSION"
# note that version in welcome message depends on CVS ident tag

# make package
make dist

# place in web content
cp pptpconfig-${VERSION}.tar.gz ~/public_html/external/mine/pptp/pptpconfig/

# propogate ${VERSION} to web content (ChangeLog and NEWS no longer there)
emacsclient ~/public_html/external/mine/pptp/pptpconfig/pptpconfig.phtml 

# upload changes
upw

--

Packaging, Debian

# fix package version
dch --newversion ${VERSION}-0 update version

# make debian package
make deb

# release debian package
cp pptpconfig_${VERSION}-0_all.deb ~/public_html/external/mine/pptp/pptpconfig/

# make package lists
cd ~/public_html/external/mine/pptp/pptpconfig/
make

# update web site
upw

--

Packaging, RPM

# on spice, as root
cd /usr/src/rpm/SOURCES/
VERSION=`date +"%Y%m%d"`
RELEASE=0

# copy sources to rpm tree
cd /home/james/pptp-client/pptp-extras/pptpconfig/
cp pptpconfig-${VERSION}.tar.gz /usr/src/rpm/SOURCES/
# scp pptpconfig-${VERSION}.tar.gz root@quozl:/usr/src/rpm/SOURCES

# prepare patch if required

# edit spec file as required, should already be done above
cd /home/james/pptp-client/specs
emacsclient ~/pptp-client/specs/pptpconfig.spec

# build
cd /home/james/pptp-client/specs
rpmbuild -ba --sign pptpconfig.spec
# fails on debian ...
# sh: line 1: /bin/id: No such file or directory
# sh: line 1: /bin/id: No such file or directory
# error: failed build dependencies:
#         desktop-file-utils is needed by pptpconfig-20060410-0

# test
cd /usr/src/rpm/RPMS/noarch/
scp pptpconfig-${VERSION}-${RELEASE}.noarch.rpm root@lenny:

# release binaries
cd /usr/src/rpm/RPMS/noarch/
scp \
pptpconfig-${VERSION}-${RELEASE}.noarch.rpm \
james@spice:public_html/external/mine/pptp/pptpconfig/

# release sources
cd /usr/src/rpm/SRPMS/
scp \
pptpconfig-${VERSION}-${RELEASE}.src.rpm \
james@spice:public_html/external/mine/pptp/pptpconfig/

# refresh the package list
# ^d
cd ~/public_html/external/mine/pptp/pptpconfig
make

# maybe edit web page
emacsclient ~/public_html/external/mine/pptp/pptpconfig/pptpconfig.phtml

# upload changes
pushd ~/public_html/external&&. to-au&&popd
ssh -v quozl@crusader.real-time.com "(cd html && . ex-au)"
exit
# upw

--

SourceForge Release

ftp -n upload.sourceforge.net <<EOF
user anonymous qz@hp.com
cd incoming
passive
hash
put pptpconfig-${VERSION}.tar.gz
EOF

https://sourceforge.net/account/login.php
PPTP Client
Admin
File Releases
Add Release for pptpconfig
New release name: pptpconfig-${VERSION}, Create This Release

--

Announce

To: pptpclient-announce@lists.sourceforge.net
From: James Cameron <james.cameron@hp.com>
Subject: pptpconfig 20060410 released

Announcing a release of the PPTP Client GUI.

http://quozl.netrek.org/pptp/pptpconfig/

Changes,

- bug fix, for Fedora Core 2, resolv.conf in /var/run/ppp
- bug fix, all to tunnel incorrectly deleted the default route
- add a route to the tunnel server to try to avoid loops
- add new options for resolv.conf
- add more diagnosis info and save-as tunnel log

