From mh+dsc at zugschlus.de Mon Oct 4 13:16:40 2010 From: mh+dsc at zugschlus.de (Marc Haber) Date: Mon, 4 Oct 2010 15:16:40 +0200 Subject: [dsc] dsc wishlist for building a Debian package Message-ID: <20101004131640.GP1233@torres.zugschlus.de> Hi, I am currently trying to package up dsc for Debian as package dsc-statistics (see also http://bugs.debian.org/505405). In the course of preparing the package, I have discovered several issues, which may be worth fixing in dsc itself. Hardest thing first: the presenter depends on IP::Country, which is not yet packaged for Debian. And packaging IP::Country is problematic, since it contains a database which is copyrighted by the RIRs and thus cannot be part of Debian main. Would it possible to adapt DSC in a way that IP::Country would only be optional, with only the geoIP-based statistics being unavailable if IP::Country isn't present? As an alternative, is it possible to make dsc use Geo::IP, which looks like it's significantly better maintained and which is already supported in Debian? That being said, here are the other issues that have surfaced during my packaging attempts: (1) collector/make clean doesn't work on freshly unpacked source which breaks Debian's build process which starts off by a make clean call. Local fix applied, upstream fix appreciated. Suggestion: use autoconf/automake (2) collector/make clean calls configure script. This is kind of strange and breaks the build of the Debian source package (which builds a diff from the original tar and the cleaned source directory to find out what Debian changed). Local fix applied, upstream fix appreciated. Suggestion: use autoconf/automake (3) The paths that dsc uses are not FHS conformant and changing them needs a dive into the source code and the Make files to make them compliant. Local fix applied, upstream fix appreciated. Suggestion: use autoconf/automake (4) Proper .PHONY targets are missing in the make files, causing strange behavior during package build. Local fix applied, upstream fix appreciated. Suggestion: use autoconf/automake (5) Debian doesn't use .pl and .sh suffixes to scripts. Local fix applied, upstream solution would be nice. Suggestion: ditch suffixes in distribution (6) perl Makefile.PL INSTALLDIRS=vendor $(MAKE) install DESTDIR=$(CURDIR)/debian/ installs .pm files to $(CURDIR)/presenter/debian//$(CURDIR)/debian/tmp/share/perl5 instead of the expected $(CURDIR)/debian//usr/share/perl5 which is contrary to what people are used from other Makefiles created by MakeMaker, which do the expected thing. Local fix applied, upstream solution appreciated. (7) Is the documentation available in the (obvious) .tex source format? Can it be included in the .tar.gz? I have patched all issues so that the Debian package doesn't have any of these issues any more, but packaging would be significantly easier if the issues were addressed upstream. My patches are usually curing the symptoms and are surely not appropriate for applying them to your package, but I can publish them some time next week if you want to see them. I would like to solicit comments from the DSC authors and the community before I go ahead and prepare and upload the package. Any comments will be appreciated. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 From regnauld at nsrc.org Mon Oct 4 13:24:22 2010 From: regnauld at nsrc.org (Phil Regnauld) Date: Mon, 4 Oct 2010 15:24:22 +0200 Subject: [dsc] dsc wishlist for building a Debian package In-Reply-To: <20101004131640.GP1233@torres.zugschlus.de> References: <20101004131640.GP1233@torres.zugschlus.de> Message-ID: <20101004132421.GE68935@macbook.catpipe.net> Marc Haber (mh+dsc) writes: > > I have patched all issues so that the Debian package doesn't have any > of these issues any more, but packaging would be significantly easier > if the issues were addressed upstream. My patches are usually curing > the symptoms and are surely not appropriate for applying them to your > package, but I can publish them some time next week if you want to see > them. Thanks, that could be useful to package DSC for other distributions (like FreeBSD). > I would like to solicit comments from the DSC authors and the > community before I go ahead and prepare and upload the package. Using Geo::IP sounds like a decent alternative to me. (my 0.02 EUR) Cheers, Phil From maillists at hecomm.org Tue Oct 12 04:18:45 2010 From: maillists at hecomm.org (Michael) Date: Mon, 11 Oct 2010 23:18:45 -0500 Subject: [dsc] Can't compile Collector. Message-ID: <201010112318.45661.maillists@hecomm.org> When compiling collector I get the attached output from the compiler. It's acting as though daemon.c isn't including nmap.h I have nmap 5.0 installed (Ubuntu 64-bit Lucid Lynx.) I have tried commenting out the "IF" part of the nmap.h include like so: //#ifdef HAVE_NCAP #include nmap.h //#endif and then tried compiling "clean". (In other words, removed the archive, re- extracted archive, commented out if statements and then ran make. And get exactly the same end result: make[1]: Leaving directory `/home/user/dsc-201008131729/collector/dsc' daemon.o: In function `dump_reports': /home/user/dsc-201008131729/collector/dsc/daemon.c:151: undefined reference to `Ncap_finish_time' daemon.o: In function `main': /home/user/dsc-201008131729/collector/dsc/daemon.c:285: undefined reference to `Ncap_close' /home/user/dsc-201008131729/collector/dsc/daemon.c:251: undefined reference to `Ncap_run' collect2: ld returned 1 exit status make[1]: *** [dsc] Error 1 make[1]: Leaving directory `/home/user/dsc-201008131729/collector/dsc' make: *** [all] Error 2 I see this is apparently a linking error, but am a bit of a novice in C programming/compiling. I can see the referenced calls in nmap.c and nmap.h, what I don't know is are we compiling based on system nmap, or local nmap. Is there a way for me to know for certain? (i.e is the link failing because the system version of nmap is missing these calls?) And hopefully my email client is finally sending email as the person I subscribed as and not as the "Default" user. -------------- next part -------------- (cd dsc; test -s Makefile || ./configure ; make all) checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for ncap_create in -lncap... yes checking for inet_aton in -lresolv... yes checking for gethostbyname in -lnsl... yes checking for connect in -lsocket... no checking for pcap_open_live in -lpcap... yes checking for GeoIP_open in -lGeoIP... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for memory.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for int8_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for dup2... yes checking for gettimeofday... yes checking for memset... yes checking for regcomp... yes checking for select... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strspn... yes checking for strstr... yes checking for strtoull... yes checking for statvfs... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h make[1]: Entering directory `/home/user/dsc-201008131729/collector/dsc' cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o base64.o base64.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o generic_counter.o generic_counter.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o pcap.o pcap.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o ncap.o ncap.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o dns_protocol.o dns_protocol.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o dns_message.o dns_message.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o ip_message.o ip_message.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o daemon.o daemon.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o md_array.o md_array.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o null_index.o null_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o qtype_index.o qtype_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o qclass_index.o qclass_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o tld_index.o tld_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o country_index.o country_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o rcode_index.o rcode_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o qnamelen_index.o qnamelen_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o qname_index.o qname_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o msglen_index.o msglen_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o client_ipv4_addr_index.o client_ipv4_addr_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o client_ipv4_net_index.o client_ipv4_net_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o md_array_xml_printer.o md_array_xml_printer.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o ip_direction_index.o ip_direction_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o ip_proto_index.o ip_proto_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o ip_version_index.o ip_version_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o certain_qnames_index.o certain_qnames_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o query_classification_index.o query_classification_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o idn_qname_index.o idn_qname_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o edns_version_index.o edns_version_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o edns_bufsiz_index.o edns_bufsiz_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o do_bit_index.o do_bit_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o rd_bit_index.o rd_bit_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o opcode_index.o opcode_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o transport_index.o transport_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o dns_ip_version_index.o dns_ip_version_index.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o dns_source_port_index.o dns_source_port_index.c ../TmfBase/Hapy/Makefile is out of date cd ../TmfBase/Hapy; ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 805306365 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking whether g++ compiler understands C++... yes enforcing -O1 on i686-pc-linux-gnu checking whether custom g++ flags work... probably changing g++ flags to -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual checking for main in -lnsl... yes checking iterator usability... yes checking iterator presence... yes checking for iterator... yes checking limits usability... yes checking limits presence... yes checking for limits... yes checking climits usability... yes checking climits presence... yes checking for climits... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for non-standard std::string::compare profile... no checking for std::numeric_limits... yes checking for std::iterator... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating tests/Makefile config.status: creating src/include/Hapy/ac-config.h config.status: executing src/include/Hapy/config.h commands config.status: creating src/include/Hapy/config.h - prefix HAPY for src/include/Hapy/ac-config.h defines config.status: executing depfiles commands ../TmfBase/Hapy/src/.libs/libHapy.a is out of date cd ../TmfBase/Hapy; make all make[2]: Entering directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy' Making all in src make[3]: Entering directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy/src' if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Algorithm.lo -MD -MP -MF ".deps/Algorithm.Tpo" -c -o Algorithm.lo Algorithm.cc; \ then mv -f ".deps/Algorithm.Tpo" ".deps/Algorithm.Plo"; else rm -f ".deps/Algorithm.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Algorithm.lo -MD -MP -MF .deps/Algorithm.Tpo -c Algorithm.cc -o Algorithm.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Algorithms.lo -MD -MP -MF ".deps/Algorithms.Tpo" -c -o Algorithms.lo Algorithms.cc; \ then mv -f ".deps/Algorithms.Tpo" ".deps/Algorithms.Plo"; else rm -f ".deps/Algorithms.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Algorithms.lo -MD -MP -MF .deps/Algorithms.Tpo -c Algorithms.cc -o Algorithms.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Area.lo -MD -MP -MF ".deps/Area.Tpo" -c -o Area.lo Area.cc; \ then mv -f ".deps/Area.Tpo" ".deps/Area.Plo"; else rm -f ".deps/Area.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Area.lo -MD -MP -MF .deps/Area.Tpo -c Area.cc -o Area.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Assert.lo -MD -MP -MF ".deps/Assert.Tpo" -c -o Assert.lo Assert.cc; \ then mv -f ".deps/Assert.Tpo" ".deps/Assert.Plo"; else rm -f ".deps/Assert.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Assert.lo -MD -MP -MF .deps/Assert.Tpo -c Assert.cc -o Assert.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Buffer.lo -MD -MP -MF ".deps/Buffer.Tpo" -c -o Buffer.lo Buffer.cc; \ then mv -f ".deps/Buffer.Tpo" ".deps/Buffer.Plo"; else rm -f ".deps/Buffer.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Buffer.lo -MD -MP -MF .deps/Buffer.Tpo -c Buffer.cc -o Buffer.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Debugger.lo -MD -MP -MF ".deps/Debugger.Tpo" -c -o Debugger.lo Debugger.cc; \ then mv -f ".deps/Debugger.Tpo" ".deps/Debugger.Plo"; else rm -f ".deps/Debugger.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Debugger.lo -MD -MP -MF .deps/Debugger.Tpo -c Debugger.cc -o Debugger.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT First.lo -MD -MP -MF ".deps/First.Tpo" -c -o First.lo First.cc; \ then mv -f ".deps/First.Tpo" ".deps/First.Plo"; else rm -f ".deps/First.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT First.lo -MD -MP -MF .deps/First.Tpo -c First.cc -o First.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Optimizer.lo -MD -MP -MF ".deps/Optimizer.Tpo" -c -o Optimizer.lo Optimizer.cc; \ then mv -f ".deps/Optimizer.Tpo" ".deps/Optimizer.Plo"; else rm -f ".deps/Optimizer.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Optimizer.lo -MD -MP -MF .deps/Optimizer.Tpo -c Optimizer.cc -o Optimizer.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Parser.lo -MD -MP -MF ".deps/Parser.Tpo" -c -o Parser.lo Parser.cc; \ then mv -f ".deps/Parser.Tpo" ".deps/Parser.Plo"; else rm -f ".deps/Parser.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Parser.lo -MD -MP -MF .deps/Parser.Tpo -c Parser.cc -o Parser.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Pree.lo -MD -MP -MF ".deps/Pree.Tpo" -c -o Pree.lo Pree.cc; \ then mv -f ".deps/Pree.Tpo" ".deps/Pree.Plo"; else rm -f ".deps/Pree.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Pree.lo -MD -MP -MF .deps/Pree.Tpo -c Pree.cc -o Pree.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT PrettyPrint.lo -MD -MP -MF ".deps/PrettyPrint.Tpo" -c -o PrettyPrint.lo PrettyPrint.cc; \ then mv -f ".deps/PrettyPrint.Tpo" ".deps/PrettyPrint.Plo"; else rm -f ".deps/PrettyPrint.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT PrettyPrint.lo -MD -MP -MF .deps/PrettyPrint.Tpo -c PrettyPrint.cc -o PrettyPrint.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT PreeFarm.lo -MD -MP -MF ".deps/PreeFarm.Tpo" -c -o PreeFarm.lo PreeFarm.cc; \ then mv -f ".deps/PreeFarm.Tpo" ".deps/PreeFarm.Plo"; else rm -f ".deps/PreeFarm.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT PreeFarm.lo -MD -MP -MF .deps/PreeFarm.Tpo -c PreeFarm.cc -o PreeFarm.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Result.lo -MD -MP -MF ".deps/Result.Tpo" -c -o Result.lo Result.cc; \ then mv -f ".deps/Result.Tpo" ".deps/Result.Plo"; else rm -f ".deps/Result.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Result.lo -MD -MP -MF .deps/Result.Tpo -c Result.cc -o Result.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Rule.lo -MD -MP -MF ".deps/Rule.Tpo" -c -o Rule.lo Rule.cc; \ then mv -f ".deps/Rule.Tpo" ".deps/Rule.Plo"; else rm -f ".deps/Rule.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Rule.lo -MD -MP -MF .deps/Rule.Tpo -c Rule.cc -o Rule.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT RuleBase.lo -MD -MP -MF ".deps/RuleBase.Tpo" -c -o RuleBase.lo RuleBase.cc; \ then mv -f ".deps/RuleBase.Tpo" ".deps/RuleBase.Plo"; else rm -f ".deps/RuleBase.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT RuleBase.lo -MD -MP -MF .deps/RuleBase.Tpo -c RuleBase.cc -o RuleBase.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT RuleId.lo -MD -MP -MF ".deps/RuleId.Tpo" -c -o RuleId.lo RuleId.cc; \ then mv -f ".deps/RuleId.Tpo" ".deps/RuleId.Plo"; else rm -f ".deps/RuleId.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT RuleId.lo -MD -MP -MF .deps/RuleId.Tpo -c RuleId.cc -o RuleId.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Rules.lo -MD -MP -MF ".deps/Rules.Tpo" -c -o Rules.lo Rules.cc; \ then mv -f ".deps/Rules.Tpo" ".deps/Rules.Plo"; else rm -f ".deps/Rules.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Rules.lo -MD -MP -MF .deps/Rules.Tpo -c Rules.cc -o Rules.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT SizeCalc.lo -MD -MP -MF ".deps/SizeCalc.Tpo" -c -o SizeCalc.lo SizeCalc.cc; \ then mv -f ".deps/SizeCalc.Tpo" ".deps/SizeCalc.Plo"; else rm -f ".deps/SizeCalc.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT SizeCalc.lo -MD -MP -MF .deps/SizeCalc.Tpo -c SizeCalc.cc -o SizeCalc.o if /bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Top.lo -MD -MP -MF ".deps/Top.Tpo" -c -o Top.lo Top.cc; \ then mv -f ".deps/Top.Tpo" ".deps/Top.Plo"; else rm -f ".deps/Top.Tpo"; exit 1; fi g++ -DHAVE_CONFIG_H -I../src/include -I../src/include -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -MT Top.lo -MD -MP -MF .deps/Top.Tpo -c Top.cc -o Top.o /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -o libHapy.la -rpath /usr/local/lib Algorithm.lo Algorithms.lo Area.lo Assert.lo Buffer.lo Debugger.lo First.lo Optimizer.lo Parser.lo Pree.lo PrettyPrint.lo PreeFarm.lo Result.lo Rule.lo RuleBase.lo RuleId.lo Rules.lo SizeCalc.lo Top.lo -lnsl mkdir .libs ar cru .libs/libHapy.a Algorithm.o Algorithms.o Area.o Assert.o Buffer.o Debugger.o First.o Optimizer.o Parser.o Pree.o PrettyPrint.o PreeFarm.o Result.o Rule.o RuleBase.o RuleId.o Rules.o SizeCalc.o Top.o ranlib .libs/libHapy.a creating libHapy.la (cd .libs && rm -f libHapy.la && ln -s ../libHapy.la libHapy.la) make[3]: Leaving directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy/src' Making all in doc make[3]: Entering directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy/doc' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy/doc' Making all in tests make[3]: Entering directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy/tests' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy/tests' make[3]: Entering directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy' make[2]: Leaving directory `/home/user/dsc-201008131729/collector/TmfBase/Hapy' g++ -c -o ParseConfig.o -g -DUSE_IPV6=1 -I ../TmfBase/Hapy/src/include -I/usr/local/include ParseConfig.cc cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o config_hooks.o config_hooks.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o hashtbl.o hashtbl.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o lookup3.o lookup3.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o xmalloc.o xmalloc.c cc -g -Wall -DUSE_IPV6=1 -g -O2 -g -Wall -DUSE_IPV6=1 -g -O2 -c -o inX_addr.o inX_addr.c g++ -o dsc base64.o generic_counter.o pcap.o ncap.o dns_protocol.o dns_message.o ip_message.o daemon.o md_array.o null_index.o qtype_index.o qclass_index.o tld_index.o country_index.o rcode_index.o qnamelen_index.o qname_index.o msglen_index.o client_ipv4_addr_index.o client_ipv4_net_index.o md_array_xml_printer.o ip_direction_index.o ip_proto_index.o ip_version_index.o certain_qnames_index.o query_classification_index.o idn_qname_index.o edns_version_index.o edns_bufsiz_index.o do_bit_index.o rd_bit_index.o opcode_index.o transport_index.o dns_ip_version_index.o dns_source_port_index.o ParseConfig.o config_hooks.o hashtbl.o lookup3.o xmalloc.o inX_addr.o -lpcap -lnsl -lresolv -lncap ../TmfBase/Hapy/src/.libs/libHapy.a make[1]: Leaving directory `/home/user/dsc-201008131729/collector/dsc' daemon.o: In function `dump_reports': /home/user/dsc-201008131729/collector/dsc/daemon.c:151: undefined reference to `Ncap_finish_time' daemon.o: In function `main': /home/user/dsc-201008131729/collector/dsc/daemon.c:285: undefined reference to `Ncap_close' /home/user/dsc-201008131729/collector/dsc/daemon.c:251: undefined reference to `Ncap_run' collect2: ld returned 1 exit status make[1]: *** [dsc] Error 1 make[1]: Leaving directory `/home/user/dsc-201008131729/collector/dsc' make: *** [all] Error 2 From maillists at hecomm.org Wed Oct 13 01:04:40 2010 From: maillists at hecomm.org (Michael) Date: Tue, 12 Oct 2010 20:04:40 -0500 Subject: [dsc] Can't compile Collector. In-Reply-To: <201010112318.45661.maillists@hecomm.org> References: <201010112318.45661.maillists@hecomm.org> Message-ID: <201010122004.42596.maillists@hecomm.org> Found solution: libncap-dev was installed, removed this and compiles fine now. Only difference between the machine it compiles on, and the one it didn't. Removed libncap-dev, and it worked! Unfortunately this breaks something else I'm testing. On Monday, October 11, 2010 11:18:45 pm Michael wrote: > When compiling collector I get the attached output from the compiler. > > It's acting as though daemon.c isn't including nmap.h > > I have nmap 5.0 installed (Ubuntu 64-bit Lucid Lynx.) > > I have tried commenting out the "IF" part of the nmap.h include like so: > > //#ifdef HAVE_NCAP > #include nmap.h > //#endif > > > and then tried compiling "clean". (In other words, removed the archive, re- > extracted archive, commented out if statements and then ran make. > > And get exactly the same end result: > make[1]: Leaving directory `/home/user/dsc-201008131729/collector/dsc' > daemon.o: In function `dump_reports': > /home/user/dsc-201008131729/collector/dsc/daemon.c:151: undefined reference > to `Ncap_finish_time' > daemon.o: In function `main': > /home/user/dsc-201008131729/collector/dsc/daemon.c:285: undefined reference > to `Ncap_close' > /home/user/dsc-201008131729/collector/dsc/daemon.c:251: undefined reference > to `Ncap_run' > collect2: ld returned 1 exit status > make[1]: *** [dsc] Error 1 > make[1]: Leaving directory `/home/user/dsc-201008131729/collector/dsc' > make: *** [all] Error 2 > > > I see this is apparently a linking error, but am a bit of a novice in C > programming/compiling. I can see the referenced calls in nmap.c and nmap.h, > what I don't know is are we compiling based on system nmap, or local nmap. > Is there a way for me to know for certain? (i.e is the link failing > because the system version of nmap is missing these calls?) > > And hopefully my email client is finally sending email as the person I > subscribed as and not as the "Default" user. From wessels at measurement-factory.com Mon Oct 18 23:05:22 2010 From: wessels at measurement-factory.com (Duane Wessels) Date: Mon, 18 Oct 2010 17:05:22 -0600 (MDT) Subject: [dsc] dsc wishlist for building a Debian package In-Reply-To: <20101004131640.GP1233@torres.zugschlus.de> References: <20101004131640.GP1233@torres.zugschlus.de> Message-ID: On Mon, 4 Oct 2010, Marc Haber wrote: > Hi, > > I am currently trying to package up dsc for Debian as package > dsc-statistics (see also http://bugs.debian.org/505405). In the course > of preparing the package, I have discovered several issues, which may > be worth fixing in dsc itself. Hi Marc, thanks for the report on DSC's un-debianness. I'm happy to take a look at your patches and suggestions. However, I think it is unlikely much of it would be committed to the main repository at this time. For two reasons: (1) DSC is currently in a bugfix-only mode by TMF, and (2) The Measurement Factory is in the process of transferring ownership of the code to DNS-OARC. We expect DNS-OARC to begin making some significant improvements after it takes ownership. Better packaging will be a part of that. (A number of us met last week to discuss DSC's future and the need for Debian-blessed packaging came up as a topic) On the plus side, you can expect very few changes to DSC in the short term. So I think your hard work of packaging for DSC will be good for a while -- you won't have to do it all over again. DW From ondrej.sury at nic.cz Tue Oct 19 07:39:26 2010 From: ondrej.sury at nic.cz (=?UTF-8?B?T25kxZllaiBTdXLDvQ==?=) Date: Tue, 19 Oct 2010 09:39:26 +0200 Subject: [dsc] dsc wishlist for building a Debian package In-Reply-To: References: <20101004131640.GP1233@torres.zugschlus.de> Message-ID: <4CBD4B2E.10407@nic.cz> Marc, I will add that we have discussed this FHS unfriendliness on DSC workshop last week. And after we make the changes I guess we will prepare the Debian packages as part of the upstream process, when we retouch the bits needed to fit DSC nicely into a "generic" linux/bsd system. Ondrej On 19.10.2010 01:05, Duane Wessels wrote: > On Mon, 4 Oct 2010, Marc Haber wrote: > >> Hi, >> >> I am currently trying to package up dsc for Debian as package >> dsc-statistics (see also http://bugs.debian.org/505405). In the course >> of preparing the package, I have discovered several issues, which may >> be worth fixing in dsc itself. > > Hi Marc, > > thanks for the report on DSC's un-debianness. > > I'm happy to take a look at your patches and suggestions. However, > I think it is unlikely much of it would be committed to the main > repository at this time. For two reasons: (1) DSC is currently > in a bugfix-only mode by TMF, and (2) The Measurement Factory is > in the process of transferring ownership of the code to DNS-OARC. > We expect DNS-OARC to begin making some significant improvements > after it takes ownership. Better packaging will be a part of that. > > (A number of us met last week to discuss DSC's future > and the need for Debian-blessed packaging came up as a topic) > > On the plus side, you can expect very few changes to DSC > in the short term. So I think your hard work of packaging > for DSC will be good for a while -- you won't have to > do it all over again. > > DW > _______________________________________________ > dsc mailing list > dsc at measurement-factory.com > http://www.measurement-factory.com/mailman/listinfo/dsc -- Ond?ej Sur? vedouc? v?zkumu/Head of R&D department ------------------------------------------- CZ.NIC, z.s.p.o. -- Laborato?e CZ.NIC Americka 23, 120 00 Praha 2, Czech Republic mailto:ondrej.sury at nic.cz http://nic.cz/ tel:+420.222745110 fax:+420.222745112 ------------------------------------------- From mh+dsc at zugschlus.de Tue Oct 19 11:42:36 2010 From: mh+dsc at zugschlus.de (Marc Haber) Date: Tue, 19 Oct 2010 13:42:36 +0200 Subject: [dsc] dsc wishlist for building a Debian package In-Reply-To: <4CBD4B2E.10407@nic.cz> References: <20101004131640.GP1233@torres.zugschlus.de> <4CBD4B2E.10407@nic.cz> Message-ID: <20101019114236.GA26905@torres.zugschlus.de> On Tue, Oct 19, 2010 at 09:39:26AM +0200, Ond?ej Sur? wrote: > I will add that we have discussed this FHS unfriendliness on DSC > workshop last week. Was that workshop mentioned anywhere? > And after we make the changes I guess we will prepare the Debian > packages as part of the upstream process, Does that process interfere with the packaging work that I have already done after taking over the long-standing ITP (#505405)? I intend to upload in a few days, the packages are finished. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 From mh+dsc at zugschlus.de Tue Oct 19 11:45:06 2010 From: mh+dsc at zugschlus.de (Marc Haber) Date: Tue, 19 Oct 2010 13:45:06 +0200 Subject: [dsc] dsc wishlist for building a Debian package In-Reply-To: <20101004131640.GP1233@torres.zugschlus.de> References: <20101004131640.GP1233@torres.zugschlus.de> Message-ID: <20101019114506.GB26905@torres.zugschlus.de> On Mon, Oct 04, 2010 at 03:16:40PM +0200, Marc Haber wrote: > Hardest thing first: the presenter depends on IP::Country, which is > not yet packaged for Debian. And packaging IP::Country is problematic, > since it contains a database which is copyrighted by the RIRs and thus > cannot be part of Debian main. Would it possible to adapt DSC in a way > that IP::Country would only be optional, with only the geoIP-based > statistics being unavailable if IP::Country isn't present? As an > alternative, is it possible to make dsc use Geo::IP, which looks like > it's significantly better maintained and which is already supported in > Debian? Replacing IP::Country with Geo::IP is a rather trivial patch: --- a/presenter/perllib/DSC/grapher/plot.pm +++ b/presenter/perllib/DSC/grapher/plot.pm @@ -246,9 +246,9 @@ my $std_accum_yaxes = { names => [ qw(Unknown IANA LACNIC APNIC RIPE ARIN) ], colors => [ qw(black red purple yellow blue brightgreen) ], label_func => sub { - use IP::Country; - my $l = new IP::Country::Fast; - $l->inet_atocc(shift) || '??'; + use Geo::IP; + my $l = Geo::IP->new(GEOIP_MEMORY_CACHE|GEOIP_CHECK_CACHE); + $l->country_code_by_addr(shift) || '??'; }, color_func => sub { use IP::Authority; Since IP::Country gives somewhat better results than Geo::IP with the free database, I would like to have dsc try IP::Country first and fall back to Geo::IP only if IP::Country was not found. However, doing this is beyond my limited perl capabilities. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 From mh+dsc at zugschlus.de Tue Oct 19 11:46:53 2010 From: mh+dsc at zugschlus.de (Marc Haber) Date: Tue, 19 Oct 2010 13:46:53 +0200 Subject: [dsc] dsc wishlist for building a Debian package In-Reply-To: References: <20101004131640.GP1233@torres.zugschlus.de> Message-ID: <20101019114653.GC26905@torres.zugschlus.de> Hi Duane, On Mon, Oct 18, 2010 at 05:05:22PM -0600, Duane Wessels wrote: > On Mon, 4 Oct 2010, Marc Haber wrote: >> I am currently trying to package up dsc for Debian as package >> dsc-statistics (see also http://bugs.debian.org/505405). In the course >> of preparing the package, I have discovered several issues, which may >> be worth fixing in dsc itself. > > Hi Marc, > > thanks for the report on DSC's un-debianness. > > I'm happy to take a look at your patches and suggestions. I will publish them in git in a few days of time and give you a heads-up. > However, I think it is unlikely much of it would be committed to the > main repository at this time. For two reasons: (1) DSC is currently > in a bugfix-only mode by TMF, and (2) The Measurement Factory is in > the process of transferring ownership of the code to DNS-OARC. We > expect DNS-OARC to begin making some significant improvements after > it takes ownership. Better packaging will be a part of that. I see. Let's see whether we can contribute to that. > On the plus side, you can expect very few changes to DSC > in the short term. So I think your hard work of packaging > for DSC will be good for a while -- you won't have to > do it all over again. Sounds good ;) Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 From ondrej.sury at nic.cz Tue Oct 19 12:53:30 2010 From: ondrej.sury at nic.cz (=?UTF-8?B?T25kxZllaiBTdXLDvQ==?=) Date: Tue, 19 Oct 2010 14:53:30 +0200 Subject: [dsc] dsc wishlist for building a Debian package In-Reply-To: <20101019114236.GA26905@torres.zugschlus.de> References: <20101004131640.GP1233@torres.zugschlus.de> <4CBD4B2E.10407@nic.cz> <20101019114236.GA26905@torres.zugschlus.de> Message-ID: <4CBD94CA.7080206@nic.cz> On 19.10.2010 13:42, Marc Haber wrote: > On Tue, Oct 19, 2010 at 09:39:26AM +0200, Ond?ej Sur? wrote: >> I will add that we have discussed this FHS unfriendliness on DSC >> workshop last week. > > Was that workshop mentioned anywhere? It was more OARCish thing, because we discussed the plan to move DSC under OARC. >> And after we make the changes I guess we will prepare the Debian >> packages as part of the upstream process, > > Does that process interfere with the packaging work that I have > already done after taking over the long-standing ITP (#505405)? I > intend to upload in a few days, the packages are finished. Well, the plan is to move DSC under more open process @ OARC. So that depends on license you will use for packaging (hint: using same license as DSC, i.e. BSD, will make things easier if we want to include your work). Ondrej -- Ond?ej Sur? vedouc? v?zkumu/Head of R&D department ------------------------------------------- CZ.NIC, z.s.p.o. -- Laborato?e CZ.NIC Americka 23, 120 00 Praha 2, Czech Republic mailto:ondrej.sury at nic.cz http://nic.cz/ tel:+420.222745110 fax:+420.222745112 ------------------------------------------- From wessels at measurement-factory.com Tue Oct 19 16:20:00 2010 From: wessels at measurement-factory.com (Duane Wessels) Date: Tue, 19 Oct 2010 10:20:00 -0600 (MDT) Subject: [dsc] dsc wishlist for building a Debian package In-Reply-To: <20101019114236.GA26905@torres.zugschlus.de> References: <20101004131640.GP1233@torres.zugschlus.de> <4CBD4B2E.10407@nic.cz> <20101019114236.GA26905@torres.zugschlus.de> Message-ID: On Tue, 19 Oct 2010, Marc Haber wrote: > Was that workshop mentioned anywhere? It was mentioned on this list in August. Perhaps you were not subscribed at the time: http://www.measurement-factory.com/pipermail/dsc/2010-August/000243.html From mh+dsc at zugschlus.de Wed Oct 20 07:35:12 2010 From: mh+dsc at zugschlus.de (Marc Haber) Date: Wed, 20 Oct 2010 09:35:12 +0200 Subject: [dsc] dsc wishlist for building a Debian package In-Reply-To: References: <20101004131640.GP1233@torres.zugschlus.de> <4CBD4B2E.10407@nic.cz> <20101019114236.GA26905@torres.zugschlus.de> Message-ID: <20101020073512.GA20085@torres.zugschlus.de> On Tue, Oct 19, 2010 at 10:20:00AM -0600, Duane Wessels wrote: > On Tue, 19 Oct 2010, Marc Haber wrote: > >> Was that workshop mentioned anywhere? > > It was mentioned on this list in August. Perhaps you were not subscribed > at the time: > > http://www.measurement-factory.com/pipermail/dsc/2010-August/000243.html At that time, I wasn't even aware of dsc ;) I apologize for any implications that my message may have caused, no offense intended. Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 From wessels at measurement-factory.com Mon Oct 25 18:42:33 2010 From: wessels at measurement-factory.com (Duane Wessels) Date: Mon, 25 Oct 2010 12:42:33 -0600 (MDT) Subject: [dsc] Notes from DSC workshop Message-ID: Attached are my notes (as powerpoint slides) from the DSC workshop earlier this month. Duane W. From warren at kumari.net Mon Oct 25 19:11:24 2010 From: warren at kumari.net (Warren Kumari) Date: Mon, 25 Oct 2010 15:11:24 -0400 Subject: [dsc] Notes from DSC workshop In-Reply-To: References: Message-ID: <52E1C5B1-7DAE-42DE-AA8C-E3EC75F23E3F@kumari.net> On Oct 25, 2010, at 2:42 PM, Duane Wessels wrote: > Attached are my notes (as powerpoint slides) from the DSC workshop > earlier this month. Really? W (Mailman gone and done ate them...) > > Duane W. > _______________________________________________ > dsc mailing list > dsc at measurement-factory.com > http://www.measurement-factory.com/mailman/listinfo/dsc -- There are only 10 types of people in this world -- those who understand binary arithmetic and those who don't. From wessels at measurement-factory.com Mon Oct 25 19:53:02 2010 From: wessels at measurement-factory.com (Duane Wessels) Date: Mon, 25 Oct 2010 13:53:02 -0600 (MDT) Subject: [dsc] Notes from DSC workshop In-Reply-To: <99E7B887-3F77-4DBF-9D07-2D0E8D4AD47A@knig.ht> References: <99E7B887-3F77-4DBF-9D07-2D0E8D4AD47A@knig.ht> Message-ID: >> Attached are my notes (as powerpoint slides) from the DSC workshop >> earlier this month. > > I see no attachment :) > sigh. I've posted them here: http://dns.measurement-factory.com/tools/dsc/download/dsc-future.pdf