OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src openpkg-web Date: 18-Feb-2003 16:32:57 Branch: HEAD Handle: 2003021815325501 Modified files: openpkg-src/honeyd honeyd.spec openpkg-web news.txt Log: Hmmm.... - fix class in Distribution - fix indentation of %description - remove trailing whitespaces - use just %patch if we use just %setup - fix indentation of comments - remove extra blank lines - remove extra backslash at shtool mkdir command - break up too long lines - fix typo in comment The package IMHO is still fully broken, because a reasonable default config is missing and the sudo-stuff should be replaced by a clean rc.honeyd which just uses the "-u <user>" feature. Summary: Revision Changes Path 1.2 +29 -27 openpkg-src/honeyd/honeyd.spec 1.3348 +1 -0 openpkg-web/news.txt ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/honeyd/honeyd.spec ============================================================================ $ cvs diff -u -r1.1 -r1.2 honeyd.spec --- openpkg-src/honeyd/honeyd.spec 18 Feb 2003 14:52:05 -0000 1.1 +++ openpkg-src/honeyd/honeyd.spec 18 Feb 2003 15:32:56 -0000 1.2 @@ -25,18 +25,18 @@ # package information Name: honeyd -Summary: Creates a Virtual Host on Network +Summary: Creates a Virtual Host on Network URL: http://www.citi.umich.edu/u/provos/honeyd/ Vendor: Niels Provos Packager: The OpenPKG Project -Distribution: OpenPKG [] +Distribution: OpenPKG [EVAL] Group: Language License: BSD License Version: 0.5 Release: 20030218 # list of sources -Source0: http://www.citi.umich.edu/u/provos/honeyd/honeyd-%{version}.tar.gz +Source0: http://www.citi.umich.edu/u/provos/honeyd/honeyd-%{version}.tar.gz Patch0: honeyd.patch # build information @@ -48,54 +48,56 @@ AutoReqProv: no %description - Honeyd is a small daemon that creates virtual hosts on a network. - The hosts can be configured to run arbitrary services, and their TCP personality - can be adapted so that they appear to be running certain versions of operating - systems. Honeyd enables a single host to claim multiple addresses on a - LAN for network simulation. It is possible to ping the virtual machines, or to - traceroute them. Any type of service on the virtual machine can be - simulated according to a simple configuration file. Instead of simulating a service, - it is also possible to proxy it to another machine. + Honeyd is a small daemon that creates virtual hosts on a network. + The hosts can be configured to run arbitrary services, and their + TCP personality can be adapted so that they appear to be running + certain versions of operating systems. Honeyd enables a single host + to claim multiple addresses on a LAN for network simulation. It is + possible to ping the virtual machines, or to traceroute them. Any + type of service on the virtual machine can be simulated according to + a simple configuration file. Instead of simulating a service, it is + also possible to proxy it to another machine. %prep %setup -q - %patch0 -p0 + %patch -p0 %build CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ - ./configure --prefix=$RPM_BUILD_ROOT%{l_prefix} \ - --with-libdnet=%{l_prefix} \ - --with-libpcap=%{l_prefix} \ - --with-libevent=%{l_prefix} \ - --includedir=%{l_prefix} - + ./configure \ + --prefix=$RPM_BUILD_ROOT%{l_prefix} \ + --with-libdnet=%{l_prefix} \ + --with-libpcap=%{l_prefix} \ + --with-libevent=%{l_prefix} \ + --includedir=%{l_prefix} %{l_make} %{l_mflags -O} %install rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install -# create filesystem hiearchy + # create filesystem hierachy %{l_shtool} mkdir -f -p -m 755 \ - $RPM_BUILD_ROOT%{l_prefix}/etc/honeyd \ - $RPM_BUILD_ROOT%{l_prefix}/libexec/honeyd \ + $RPM_BUILD_ROOT%{l_prefix}/etc/honeyd \ + $RPM_BUILD_ROOT%{l_prefix}/libexec/honeyd -# install wrapper + # install wrapper ( echo "#!/bin/sh" echo "exec %{l_prefix}/bin/sudo %{l_prefix}/libexec/honeyd/honeyd \${1+\"\$@\"} &" ) >$RPM_BUILD_ROOT%{l_prefix}/bin/honeyd chmod a+x $RPM_BUILD_ROOT%{l_prefix}/bin/honeyd -# install file - %{l_shtool} install -c -m 755 honeyd $RPM_BUILD_ROOT%{l_prefix}/libexec/honeyd - %{l_shtool} install -c -m 644 honeyd.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8 - + # install files + %{l_shtool} install -c -m 755 \ + honeyd $RPM_BUILD_ROOT%{l_prefix}/libexec/honeyd + %{l_shtool} install -c -m 644 \ + honeyd.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files %clean - rm -rf $RPM_BUILD_ROOT + rm -rf $RPM_BUILD_ROOT @@ . patch -p0 <<'@@ .' Index: openpkg-web/news.txt ============================================================================ $ cvs diff -u -r1.3347 -r1.3348 news.txt --- openpkg-web/news.txt 18 Feb 2003 15:29:49 -0000 1.3347 +++ openpkg-web/news.txt 18 Feb 2003 15:32:55 -0000 1.3348 @@ -1,3 +1,4 @@ +18-Feb-2003: Upgraded package: P<honeyd-0.5-20030218> 18-Feb-2003: Upgraded package: P<libevent-0.6-20030218> 18-Feb-2003: Upgraded package: P<graphviz-1.9-20030218> 18-Feb-2003: Upgraded package: P<tomcat-adapter-3.2.4-20030218> @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]