--- /dev/null
- Package: sfa-cm
- Architecture: any
- Depends: sfa-common
- Description: the SFA layer around MyPLC NodeManager
-
+Source: sfa
+Maintainer: Thierry Parmentelat <Thierry.Parmentelat@inria.fr>
+Section: misc
+Priority: optional
+Standards-Version: 3.9.2
+Build-Depends: devscripts, debhelper (>=7.0.50~), debconf, dpatch
+
+Package: sfa-common
+Architecture: any
+Depends: python (>= 2.5), python-openssl (>= 0.7), python-m2crypto, python-dateutil, python-lxml, python-libxslt1, python-setuptools, python-zsi, postgresql (>= 8.2), python-sqlalchemy, python-migrate
+#further depends from fedora - no obvious match on debian for now
+#Requires: xmlsec1-openssl-devel (libxmlsec1-dev or libxmlsec1-openssl or ??)
+#Requires: util-linux-ng
+#Requires: postgresql-python
+#Requires: python-psycopg2
+# the eucalyptus aggregate uses this module
+#Requires: python-xmlbuilder
+Description: Slice Facility Architecture, generic implementation derived from PlanetLab
+
+Package: sfa-flashpolicy
+Architecture: any
+Depends: sfa-common
+Description: SFA support for flash clients
+
+Package: sfa-client
+Architecture: any
+Depends: sfa-common
+Description: sfi, the SFA experimenter-side CLI
+
+Package: sfa-plc
+Architecture: any
+Depends: sfa-common
+Description: the SFA layer around MyPLC
+
+Package: sfa-federica
+Architecture: any
+Depends: sfa-common
+Description: the SFA layer around Federica
+
+Package: sfa-nitos
+Architecture: any
+Depends: sfa-common
+Description: the SFA layer around NITOS
+
+Package: sfa-dummy
+Architecture: any
+Depends: sfa-common
+Description: the SFA layer around a Dummy Testbed
+
+Package: sfa-sfatables
+Architecture: any
+Depends: sfa-common
+Description: sfatables policy tool for SFA
+
+Package: sfa-xmlbuilder
+Architecture: any
+Provides: python-xmlbuilder
+Description: third-party xmlbuilder tool
+
+Package: sfa-tests
+Architecture: any
+Depends: sfa-common
+Description: unit tests suite for SFA
+
import shutil
from distutils.core import setup
+from sfa.util.version import version_tag
+
scripts = glob("clientbin/*.py") + \
[
'config/sfa-config-tty',
'config/sfa-config',
- 'config/gen-sfa-cm-config.py',
+ # 'config/gen-sfa-cm-config.py',
'sfa/server/sfa-start.py',
- 'sfa/server/sfa_component_setup.py',
+ # 'sfa/server/sfa_component_setup.py',
'sfatables/sfatables',
'keyconvert/keyconvert.py',
'flashpolicy/sfa_flashpolicy.py',
'sfatables/processors',
]
- # need to do something about functions
- initscripts = [ 'sfa', 'sfa-cm', 'functions.sfa' ]
+ initscripts = [ 'sfa',
-# 'sfa-cm',
++ 'functions.sfa',
+ ]
data_files = [ ('/etc/sfa/', [ 'config/aggregates.xml',
'config/registries.xml',
setup(name='sfa',
packages = packages,
data_files = data_files,
- scripts = scripts)
+ scripts = scripts,
+ url="http://svn.planet-lab.org/wiki/SFATutorial",
+ author="Thierry Parmentelat, Tony Mack, Scott Baker",
+ author_email="thierry.parmentelat@inria.fr, tmack@princeton.cs.edu, smbaker@gmail.com",
+ version=version_tag)
Requires: sfa
%package client
-Summary: the SFA experimenter-side CLI
+Summary: sfi, the SFA experimenter-side CLI
Group: Applications/System
Requires: sfa
Requires: pyOpenSSL >= 0.7
Group: Applications/System
Requires: sfa
- %package cm
- Summary: the SFA layer around MyPLC NodeManager
- Group: Applications/System
- Requires: sfa
- Requires: pyOpenSSL >= 0.6
+ #%package cm
+ #Summary: the SFA layer around MyPLC NodeManager
+ #Group: Applications/System
+ #Requires: sfa
+ #Requires: pyOpenSSL >= 0.6
%package federica
Summary: the SFA layer around Federica
This package implements the SFA interface which serves as a layer
between the existing PlanetLab interfaces and the SFA API.
- %description cm
- This package implements the SFA interface which serves as a layer
- between the existing PlanetLab NodeManager interfaces and the SFA API.
+ #%description cm
+ #This package implements the SFA interface which serves as a layer
+ #between the existing PlanetLab NodeManager interfaces and the SFA API.
%description federica
The SFA driver for FEDERICA.
/etc/sfa/xml.xsd
/etc/sfa/protogeni-rspec-common.xsd
/etc/sfa/topology
- %{_bindir}/gen-sfa-cm-config.py*
+ #%{_bindir}/gen-sfa-cm-config.py*
- %files cm
- /etc/init.d/sfa-cm
- %{_bindir}/sfa_component_setup.py*
- # cron jobs here
+ #%files cm
+ #/etc/init.d/sfa-cm
+ #%{_bindir}/sfa_component_setup.py*
+ ## cron jobs here
%files federica
%{python_sitelib}/sfa/federica
%postun
[ "$1" -ge "1" ] && { service sfa dbdump ; service sfa restart ; }
- ### sfa-cm installs the 'sfa-cm' service
- %post cm
- chkconfig --add sfa-cm
-
- %preun cm
- if [ "$1" = 0 ] ; then
- /sbin/service sfa-cm stop || :
- /sbin/chkconfig --del sfa-cm || :
- fi
-
- %postun cm
- [ "$1" -ge "1" ] && service sfa-cm restart || :
+ #### sfa-cm installs the 'sfa-cm' service
+ #%post cm
+ #chkconfig --add sfa-cm
+ #
+ #%preun cm
+ #if [ "$1" = 0 ] ; then
+ # /sbin/service sfa-cm stop || :
+ # /sbin/chkconfig --del sfa-cm || :
+ #fi
+ #
+ #%postun cm
+ #[ "$1" -ge "1" ] && service sfa-cm restart || :
%changelog
* Sun Dec 16 2012 Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr> - sfa-2.1-22