blob: 7c0ff85b3bf6d870477b5c1d7d9884e5d07747a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
EBUILDS=app-emacs/muse/muse-3.01.package \
app-emacs/muse/muse-3.01.91.package \
app-emacs/muse/muse-3.01.99.package \
app-emacs/delicious/delicious-20050830.package \
app-emacs/smtpmail/smtpmail-1.77.package \
app-emacs/planner/planner-3.99.package \
app-emacs/rnc-mode/rnc-mode-1.0.3_beta.package \
app-emacs/ssh-login/ssh-login-1.9.package \
app-misc/scripts-gw/scripts-gw-1.2.3.package \
app-office/ledger/ledger-2.4.package \
dev-java/jdbm/jdbm-1.0.package \
dev-lang/R/R-2.999.package \
dev-python/python-fuse/python-fuse-2.3.package \
net-news/nntprss/nntprss-0.5.2_beta.package \
net-www/webapp-config/webapp-config-1.21.package \
sys-libs/pam_exim/pam_exim-0.77-r1.package \
www-apps/aeromail/aeromail-2.41.package \
www-apps/claroline/claroline-1.6.2.package \
www-apps/hypermail/hypermail-2.2.0.package \
www-apps/knowledgetree/knowledgetree-2.0.7.package \
www-apps/phpicalendar/phpicalendar-2.0.1.package \
www-apps/postfixadmin/postfixadmin-2.1.0.package \
www-apps/pyblosxom/pyblosxom-1.2.1.package \
www-apps/pyblosxom-plugins/pyblosxom-plugins-1.2.1.package \
www-apps/outreach/outreach-1.2.6.package \
www-apps/web-cyradm/web-cyradm-0.5.4.1.package \
www-apps/xrms/xrms-2005.05.07.package \
www-apps/zina/zina-0.11.20.package \
sci-biology/ensembl-perl/ensembl-perl-33.package \
sci-biology/repbase/repbase-10.07.package \
sci-biology/autoprime/autoprime-2.0.1.package
EBUILD_REPOSITORY=/usr/portage/local/ebuilds/
TAR=tar cvfj
TAREX=--exclude="CVS" --exclude=".svn" --exclude=*~
RSYNCEX=--exclude="Makefile" --exclude="local" --exclude="dist"
DOWNLOAD_DIR=/var/www/www.gunnarwrobel.de/htdocs/downloads/
DEREF=--dereference
SEDNAME=sed -e 's/.*\///'
SEDDIR=sed -e 's/[^\/]*$$//'
SEDEBUILD=sed -e 's/.*\/\(.*\).package/\1/'
all: update distfiles $(EBUILDS) eclass fix
%.package: %.ebuild
mkdir -p `echo $@ | $(SEDDIR)`
rsync -avz --delete-after `echo $@ | $(SEDDIR)` $(EBUILD_REPOSITORY)/`echo $@ | $(SEDDIR)` $(TAREX)
cd $(EBUILD_REPOSITORY)/`echo $@ | $(SEDDIR)`;ebuild `echo $@ | $(SEDEBUILD)`.ebuild digest;
rsync -avz $(EBUILD_REPOSITORY)/`echo $@ | $(SEDDIR)` `echo $@ | $(SEDDIR)` $(TAREX)
$(TAR) dist/`echo $@ | $(SEDNAME)`.tar.bz2 `echo $@ | $(SEDDIR)` $(TAREX) $(DEREF)
cp dist/`echo $@ | $(SEDNAME)`.tar.bz2 $(DOWNLOAD_DIR)
for fl in `find $(DOWNLOAD_DIR) -type f`; do chmod 644 "$$fl"; done
eclass:
rsync -avz --delete-after eclass/ $(EBUILD_REPOSITORY)/eclass/ $(TAREX)
distfiles:
cd local/z-distfiles && make
update:
svn update
fix:
for fl in `find $(EBUILD_REPOSITORY) -type d`; do chmod 755 "$$fl"; done
for fl in `find $(EBUILD_REPOSITORY) -type f`; do if [ -x "$${fl}" ]; then chmod 755 "$$fl"; else chmod 644 "$$fl"; fi; done
remote:
ssh pardus.de "cd usr/devel/ebuilds && svn update && make && svn commit -m \"Fixed digests\""
.PHONY: all update fix eclass
|