Add ebuild: dev-python/django-tagging dev-python/python-creole net-misc/noc NOC is an Operation Support System (OSS) and Enterprise Network Operation Centers (NOC). NOC is excellent open source tool for manage network on L2 level, manly switches. Reproducible: Always Steps to Reproduce: emerge net-misc/noc Actual Results: Install NOC. Expected Results: I wont add new packege - NOC, to Gentoo net-misc/noc dev-python/django-tagging dev-python/python-creole All ebuild are redy :) noc-0.6.3 http://redmine.nocproject.org/attachments/112/my-noc-portage.tar.bz2 http://redmine.nocproject.org/attachments/118/noc noc-0.6.4 http://redmine.nocproject.org/attachments/143/my-noc-portage.tar.bz2 noc-0.6.4 has instalation bag: "error: can't copy 'contrib/src/Sphinx/sphinx/builder.py': doesn't exist or not a regular file * ERROR: net-misc/noc-0.6.4 failed (install phase): * Installation failed with CPython 2.7 in distutils_installation() function " which will be fixed soon ;)
Created attachment 300517 [details] new ebuild for resent noc-0.7(2) Version bump to resent version. Dependensies: dev-python/django-tagging dev-python/mongoengine dev-python/python-creole dev-python/python-cjson Main ebuild: net-misc/noc Add USE: apache2 ownmaps staticvlan lighttpd nginx
Created attachment 316853 [details] NOC overlay whith noc-0.7(4).ebuild Bugfix: Fix USE staticvlan Fix dev-libs/protobuf[python] Fix APACHE2_MODULES "proxy proxy_http" - not good way. Fix docs in elog.
I found that ebuild has mising dependies! All direct dependies are set propely? but indirect not all! So in some gentoo instalation NOC work? bud in some, faild becouse of dependies. May be global USE="python" fix it.
Created attachment 316855 [details] emerge -etpv noc File contents output of "emerge -etpv noc" on gentoo instaletion running NOC with out dependies problems. It still exist bug in indirect dependies like "dev-libs/protobuf[python]" so we must found them. May be mising needed USE in dev-python/pymongo dependies...
Created attachment 317554 [details] NOC-0.7(4) overlay 1. Fix dependency bug? now all dependensy resolved! 2. Fix einfo help/ 3. Move apache virteal host from http to https. One minor bug may exist: resolver dependency of apache2 modules, may be exist bater way..
Created attachment 318950 [details] NOC-0.7(4) overlay with ALL deps This overlay include latest NOC ebuild with all dependences wich exectly match version from original NOC contrib/src/* packages. After instalation you should correct /opt/noc/etc/noc.conf: # Path to VCS CLI utility -vcs_path = /usr/local/bin/hg +vcs_path = /usr/bin/hg
Created attachment 322723 [details] NOC-0.7(4) overlay with ALL deps Overlay with all deps with exectly versions.
Created attachment 378160 [details] Gentoo NOC overlay New ebuild for current development version.
Update NOC ebuild & dependencies to current develop version. NOC in Gentoo use system packages instead of virtual environment. To use current ebuild you must: Get and pack latest NOC: hg clone http://bitbucket.org/nocproject/noc noc cd noc hg pull hg update develop cd .. tar -cjf noc.tar.bz2 noc mv noc.tar.bz2 /usr/portage/distfile And update manifests: ebuild noc-0.8.ebuild digest Then install NOC with emerge After installation NOC correct: 1. ecdsa: mv /usr/lib64/python2.7/site-packages/ecdsa-0.0.0-py2.7.egg-info /usr/lib64/python2.7/site-packages/ecdsa-0.11-py2.7.egg-info and change version in it from 0.0.0 to 0.11 2. geos: sed -i 's/ver = geos_version()/ver = geos_version().split(" ")[0]/' /usr/lib/python2.7/site-packages/django/contrib/gis/geos/libgeos.py Read elog instruction for NOC setup.
Do NOT CC arch teams yourself, this is not stabilization request! Also, please attach ebuilds and patches separately
Created attachment 384520 [details] NOC overlay To get current version: hg clone https://bitbucket.org/nocproject/noc noc && hg update develop or hg clone https://bitbucket.org/nocproject/noc noc && hg update feature/graphite From resived noc directory you must make archive for instalation! Copy it to distfiles folder and rebuild manifest for noc ebuild... Current ebuild work for branch "feature/graphite" release 10019
Created attachment 387020 [details] New NOC overlay Overlay for noc branch "feature/graphite" release 10225 Resive NOC: hg clone https://bitbucket.org/nocproject/noc noc cd noc hg update feature/graphite hg update -r 10225 cd ../ tar -cjf noc.tar.bz2 noc Then copy archive to youre distfiles and build manifest for noc ebuild. Now you redy to run: emerge noc
Created attachment 390996 [details] NOC overlay. Add pkg_config() to net-analyzer/noc ebuild! Overlay for noc branch "develop" Resive NOC: hg clone https://bitbucket.org/nocproject/noc noc cd noc hg update develop cd ../ tar -cjf noc.tar.bz2 noc Then copy archive to your distfiles and build manifest for noc ebuild. Now you redy to run: emerge net-analyzer/noc emerge --config net-analyzer/noc If you have python trace during running try: /etc/init.d/noc stop /etc/init.d/mongodb restart /etc/init.d/postgresql-9.3 restart cd /opt/noc ./scripts/upgrade /etc/init.d/noc start Do not run 'emerge --config net-analyzer/noc' twice! Or 'rm -rf /opt/noc' then remege net-analyzer/noc and drop it databace and user from postgres and mongo!
Created attachment 392364 [details] NOC portage overlay with all dependency ebuild
Created attachment 392366 [details] NOC portage overlay with all dependency neded 20141224 Currently 20141224 we need add following 9 new packages: dev-python/cachetools dev-python/dbf dev-python/db-sqlite3 dev-python/manhole dev-python/python-cjson dev-python/python-creole dev-python/sleekxmpp dev-python/vectorformats net-analyzer/noc and add ebuild of special version to following 7 exists packages: dev-python/docutils dev-python/geopy dev-python/mongoengine dev-python/pygments dev-python/requests dev-python/south dev-python/whoosh all in NOC_portage_overlay-20141224.tar.bz2
Created attachment 394080 [details] NOC portage overlay with all dependency ebuild Version bump and installation flexibility improvements. noc-0.9_rc0.ebuild - don't install virtualenv, pip and hg. Need manual download noc from repository and create noc.tar.bz2 package. Can't be upgraded by general noc utils. For production use. noc-9999.ebuild - suggested for testing. Can upgrade installation from noc repository. NOC developers wont this ebuild.
Created attachment 394700 [details] How to install NOC in Gentoo README file with instalation instruction.
Created attachment 396076 [details] NOC portage overlay with all dependency ebuild Update ebuilds. NOC developers wont support only noc-9999 installation! 'emerge =noc-9999' if you need support!!!
Created attachment 401900 [details] NOC portage overlay with all dependency ebuild Update ebuilds versions.
Created attachment 402812 [details] NOC 15.05 release. NOC portage overlay with all dependency ebuilds. NOC 15.05 release. Dependency fix. For NOC update: # /etc/init.d/noc stop # emerge net-analyzer/noc Also remember after every NOC updates run as root: # cd /opt/noc # ./scripts/upgrade If every think is OK start NOC: # /etc/init.d/noc start
Created attachment 402818 [details] HowTo install and upgrade NOC in Gentoo. Update mini HowTo "install and upgrade NOC in Gentoo".
Created attachment 402852 [details] NOC portage overlay with all dependency ebuilds. Update django to 1.4.20 and mongoengine patch.
Created attachment 403716 [details] NOC portage overlay with all dependency ebuilds. NOC 15.05.1 release!
Created attachment 403718 [details] NOC portage overlay with all dependency ebuilds. NOC 15.05.1 release!
Created attachment 405712 [details] NOC portage overlay with all dependency ebuilds. Add new dependencies: noc-pkg-jointjs dev-python/networkx dev-python/numpy dev-python/pyrad to net-analyzer/noc/noc-9999.ebuild
Created attachment 406832 [details] NOC portage overlay with all dependency ebuilds. Change version in dependencies: noc-pkg-jointjs-0.9.3 Remove dependencies: noc-pkg-mxgraph noc-pkg-mxgraph-debug
Created attachment 408788 [details] NOC portage overlay with all dependency ebuilds. Updates django-1.4.21 and minor fixes.
Created attachment 408790 [details] NOC portage overlay with all dependency ebuilds. Change version in dependencies: django-1.4.21 Remove dependencies: lxml
Created attachment 415690 [details] NOC portage overlay with all dependency ebuilds. Many changes in dependencies ebuilds Update all ebuild to EAPI=5 New NOC ebuild with many patches: noc-15.05.1-r1.ebuild
Created attachment 415692 [details] HowTo install and upgrade NOC in Gentoo.
Created attachment 416158 [details] NOC portage overlay with all dependency ebuilds. New NOC ebuild, sync with "develop" 2015.11.06: noc-15.05.1-r2.ebuild
Comment on attachment 415692 [details] HowTo install and upgrade NOC in Gentoo. Installing NOC. Look for NOC overlay in: https://bugs.gentoo.org/show_bug.cgi?id=366051 Install resent NOC overlay. Choice ebuild: stable release noc-15.05.1-r1ebuild or from repository noc-9999.ebuild. Stable release can be installed and used completely ofline, and you need to be online during installation when you choice install from repository. If you choice installation from repository (noc-9999.ebuild) you need add net-analyzer/noc ** to your keywords file, general in /etc/portage/package.keywords Now you are ready to run: # emerge -a net-analyzer/noc NOC comes with his own small overlay with dependencies. Some dependencies may be older then portage has, use /etc/portage/package.mask to block newer version from Gentoo portage packages. Also use /etc/portage/package.keywords to unmask not stable packages... After installation complete, start mongo and postgresql: # /etc/init.d/mongodb start # /etc/init.d/postgresql-9.4 start Take a look in /opt/noc/etc/upgrade.conf (don't worry emerge --config will do all you need) If you choice noc-9999.ebuild you may want comment out: #PIP_FIND_LINKS=https://cdn.nocproject.org/pkg/simple/ And uncomment: PIP_FIND_LINKS=file:///usr/portage/distfiles/ Then configure NOC by running: # emerge --config net-analyzer/noc You will be prompted for device or IP addres (eth0 or 1.2.3.4), on which NOC will listen for Syslog messages and SNMP traps. Also for password for administrative account. Now you can start NOC: # /etc/init.d/noc start Go in you web browser to 'https://127.0.0.1' accept certificate and enable java scripts. You may edit web server configuration file for listening other interface... Add one or more Managed Object (Service Activation > Managed Objects). You will get your network database initialized and device configuration grabbed in 5-15 minutes. Upgrading NOC. Upgrade resent NOC overlay from https://bugs.gentoo.org/show_bug.cgi?id=366051 You can always switch to ebuild or from repository noc-9999.ebuild when doing upgrade. Do not return back from noc-9999.ebuild to stable release noc-15.05.1-r1ebuild!!! If you wont change back to stable release from develop you must wate for new stable release and switch to it when it newer then develop. For NOC update: # /etc/init.d/noc stop # emerge -a net-analyzer/noc Also, remember, after every NOC updates run as root: # cd /opt/noc # ./scripts/upgrade If every think is OK start NOC: # /etc/init.d/noc start Upgrading NOC from repository with out new ebuild. Alternatively if you install NOC using noc-9999.ebuild you can update: # /etc/init.d/noc stop # cd /opt/noc # hg pull -u # ./scripts/upgrade # /etc/init.d/noc start
Created attachment 424660 [details] NOC portage overlay with all dependency ebuilds. New NOC ebuild, sync with "develop" 2016.02.05: noc-15.05.1-r3.ebuild YOU MUST SWITCH TO PYTHON 2 BEFORE RUN EMERGE!!! # eselect python list # eselect python set 1