Hello! apcupsd 3.14.0 is out!
Allright, here we go ;) Updated ebuild for 3.14.0 apcupsd.in.patch - Can be used from 3.12.4 ... etc.patch - updated for 3.14.0 exit-status-build.patch - dropped, as its not in 3.14.0 integrated! no-parallel.patch - Can be used from 3.12.4 ... no-strip.patch - dropped, as its not in 3.14.0 integrated!
Created attachment 110538 [details] apcupsd-3.14.0.ebuild apcupsd-3.14.0.ebuild New Release ;)
Created attachment 110540 [details, diff] files/3.14.0/etc.patch etc.patch updated for 3.14.0 release!
exit-status-build.patch - dropped, as its in 3.14.0 integrated! no-strip.patch - dropped, as its in 3.14.0 integrated! Its compiles here and works fine with my ups from apc ...
this ebuild works here too and I hope that it will soon be included into portage, because the ebuilds that are now in portage don't compile with USE=snmp on all machines here
Does this ebuild do it?
*push* ?
(In reply to comment #2) > Created an attachment (id=110538) [edit] > apcupsd-3.14.0.ebuild > > apcupsd-3.14.0.ebuild > > New Release ;) > I would suggest to remove these lines from the apcupsd-3.14.0.ebuild: --enable-old-net --enable-master-slave --with-net-port=6666 since they are not supported anymore. I've seen also the possibility to have a gtk interface along with the 3.14.0 release: --enable-gapcmon So it would be nice to add the following line as well: use gtk && myconf="${myconf} --enable-gapcmon" Thanks guys!!!
Actually, gapcmon should be conditional to gnome useflag (it uses gconf). I'll be working on a multiplexing init.d script, as I need two apcupsd instances here on this box, I'll see to submit it here when it will be ready.
Created attachment 116897 [details, diff] apcupsd-3.14.0-apccontrol-gentoo.patch For the new init.d I need to patch apccontrol.in so that it supports restarting init scripts with gentoo's baselayout and depending on which it was started from, I'll see to send it upstream.
Created attachment 116898 [details] apcupsd.initd This is the new init.d script, that can be linked to start more than one apcupsd instance (working fine here with two UPSes).
Created attachment 116899 [details] apcupsd-3.14.0.ebuild And this finally is the ebuild to use to have everything working. Note that gapcmon uses gnome useflag as it requires gconf as I said. I also changed einfo in elog, so that it can be logged.
all the stuff submitted by Flameeyes (Comments #10 #11 #12) works fine here. emerge info: Portage 2.1.2.2 (default-linux/amd64/2007.0/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 x86_64) ================================================================= System uname: 2.6.19-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System release 1.12.9 Timestamp of tree: Sat, 21 Apr 2007 09:00:08 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="it_IT@euro" LC_ALL="it_IT@euro" LINGUAS="it" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde kerberos libg++ mad midi mikmod mmx mp3 mpeg ncurses nls nptl nptlonly offensive ogg opengl pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis xml xorg xv zlib" ALSA_CARDS="emu10k1 ac97" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="g15" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Yep! ebuild work here fine =)
In cvs. Thanks for your help!