<86>Jun  7 01:53:32 userdel[2842458]: delete user 'rooter'
<86>Jun  7 01:53:32 groupadd[2842543]: group added to /etc/group: name=rooter, GID=693
<86>Jun  7 01:53:32 groupadd[2842543]: group added to /etc/gshadow: name=rooter
<86>Jun  7 01:53:32 groupadd[2842543]: new group: name=rooter, GID=693
<86>Jun  7 01:53:32 useradd[2842576]: new user: name=rooter, UID=693, GID=693, home=/root, shell=/bin/bash
<86>Jun  7 01:53:32 userdel[2842638]: delete user 'builder'
<86>Jun  7 01:53:32 userdel[2842638]: removed shadow group 'builder' owned by 'builder'
<86>Jun  7 01:53:32 groupadd[2842674]: group added to /etc/group: name=builder, GID=694
<86>Jun  7 01:53:32 groupadd[2842674]: group added to /etc/gshadow: name=builder
<86>Jun  7 01:53:32 groupadd[2842674]: new group: name=builder, GID=694
<86>Jun  7 01:53:32 useradd[2842691]: new user: name=builder, UID=694, GID=694, home=/usr/src, shell=/bin/bash
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/portsentry-1.2-alt1.qa1.nosrc.rpm
Installing portsentry-1.2-alt1.qa1.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.65733
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf portsentry_beta
+ echo 'Source #0 (portsentry-1.2.tar.bz2):'
Source #0 (portsentry-1.2.tar.bz2):
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/portsentry-1.2.tar.bz2
+ /bin/tar -xf -
+ cd portsentry_beta
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (portsentry-1.1-alt.patch):'
Patch #0 (portsentry-1.1-alt.patch):
+ /usr/bin/patch -p1
patching file ignore.csh
patching file portsentry.conf
+ echo 'Patch #1 (portsentry-1.1-fhs-alt.patch):'
Patch #1 (portsentry-1.1-fhs-alt.patch):
+ /usr/bin/patch -p1
patching file Makefile
+ echo 'Patch #2 (portsentry-1.2-alt-no_new_line.patch):'
Patch #2 (portsentry-1.2-alt-no_new_line.patch):
+ /usr/bin/patch -p1
patching file portsentry.c
+ find -type f
+ xargs /bin/grep -F -l /usr/local/psionic/portsentry/portsentry.
+ xargs /usr/bin/perl -pi -e 's,/usr/local/psionic/portsentry/portsentry.(blocked|history),/var/log/portsentry/\1,g'
+ find -type f
+ xargs /bin/grep -F -l /usr/local/psionic/portsentry
+ xargs /usr/bin/perl -pi -e s,/usr/local/psionic/portsentry,/etc/portsentry,g
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.65733
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd portsentry_beta
+ make -j8 linux
make: Entering directory '/usr/src/RPM/BUILD/portsentry_beta'
SYSTYPE=linux 
Making 
gcc -pipe -frecord-gcc-switches -Wall -g -O2 -DLINUX -DSUPPORT_STEALTH -o ./portsentry ./portsentry.c \
	./portsentry_io.c ./portsentry_util.c 
./portsentry.c: In function 'PortSentryModeTCP':
./portsentry.c:1187:8: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
        &length);
        ^~~~~~~
In file included from /usr/include/netinet/in.h:23,
                 from /usr/include/netdb.h:27,
                 from ./portsentry.h:30,
                 from ./portsentry.c:20:
/usr/include/sys/socket.h:232:12: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
 extern int accept (int __fd, __SOCKADDR_ARG __addr,
            ^~~~~~
./portsentry.c: In function 'PortSentryModeUDP':
./portsentry.c:1384:39: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign]
          (struct sockaddr *) &client, &length) < 0)
                                       ^~~~~~~
In file included from /usr/include/sys/socket.h:269,
                 from /usr/include/netinet/in.h:23,
                 from /usr/include/netdb.h:27,
                 from ./portsentry.h:30,
                 from ./portsentry.c:20:
/usr/include/bits/socket2.h:64:1: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *'
 recvfrom (int __fd, void *__restrict __buf, size_t __n, int __flags,
 ^~~~~~~~
./portsentry.c: In function 'PortSentryModeTCP':
./portsentry.c:1216:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
        write (incomingSockfd, bannerBuffer,
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        strlen (bannerBuffer));
        ~~~~~~~~~~~~~~~~~~~~~~
./portsentry_io.c: In function 'ConfigTokenRetrieve':
./portsentry_io.c:321:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
        if ((strstr (buffer, token) != (char) NULL) &&
                                       ^
./portsentry_io.c:321:36: warning: comparison between pointer and integer
        if ((strstr (buffer, token) != (char) NULL) &&
                                    ^~
./portsentry_io.c:324:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     if (strstr (buffer, "\"") == (char) NULL)
                                  ^
./portsentry_io.c:324:31: warning: comparison between pointer and integer
     if (strstr (buffer, "\"") == (char) NULL)
                               ^~
./portsentry_io.c: In function 'IsBlocked':
./portsentry_io.c:670:44: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  if((ipOffset = strstr(buffer, target)) != (char) NULL)
                                            ^
./portsentry_io.c:670:41: warning: comparison between pointer and integer
  if((ipOffset = strstr(buffer, target)) != (char) NULL)
                                         ^~
./portsentry_io.c: In function 'SubstString':
./portsentry_io.c:727:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    if (strstr (target, find) == (char) NULL)
                                 ^
./portsentry_io.c:727:30: warning: comparison between pointer and integer
    if (strstr (target, find) == (char) NULL)
                              ^~
./portsentry_io.c: In function 'DaemonSeed':
./portsentry_io.c:84:3: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
   chdir ("/");
   ^~~~~~~~~~~
make: Leaving directory '/usr/src/RPM/BUILD/portsentry_beta'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.27763
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/portsentry-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/portsentry-buildroot
+ cd portsentry_beta
+ /bin/mkdir -p /usr/src/tmp/portsentry-buildroot/etc/portsentry /usr/src/tmp/portsentry-buildroot/var/log/portsentry
+ /usr/bin/make 'INSTALL=/bin/install -p' prefix=/usr/src/tmp/portsentry-buildroot/usr exec_prefix=/usr/src/tmp/portsentry-buildroot/usr bindir=/usr/src/tmp/portsentry-buildroot/usr/bin sbindir=/usr/src/tmp/portsentry-buildroot/usr/sbin sysconfdir=/usr/src/tmp/portsentry-buildroot/etc datadir=/usr/src/tmp/portsentry-buildroot/usr/share includedir=/usr/src/tmp/portsentry-buildroot/usr/include libdir=/usr/src/tmp/portsentry-buildroot/usr/lib64 libexecdir=/usr/src/tmp/portsentry-buildroot/usr/lib localstatedir=/usr/src/tmp/portsentry-buildroot/var/lib sharedstatedir=/usr/src/tmp/portsentry-buildroot/var/lib mandir=/usr/src/tmp/portsentry-buildroot/usr/share/man infodir=/usr/src/tmp/portsentry-buildroot/usr/share/info install
make: Entering directory '/usr/src/RPM/BUILD/portsentry_beta'
Creating psionic directory /usr/src/tmp/portsentry-buildroot/usr/sbin
Setting directory permissions
Creating portsentry directory /usr/src/tmp/portsentry-buildroot/etc/portsentry
Setting directory permissions
chmod 700 /usr/src/tmp/portsentry-buildroot/etc/portsentry
Copying files
cp ./portsentry.conf /usr/src/tmp/portsentry-buildroot/etc/portsentry
cp ./portsentry.ignore /usr/src/tmp/portsentry-buildroot/etc/portsentry
cp ./portsentry /usr/src/tmp/portsentry-buildroot/usr/sbin
Setting permissions
chmod 600 /usr/src/tmp/portsentry-buildroot/etc/portsentry/portsentry.ignore
chmod 600 /usr/src/tmp/portsentry-buildroot/etc/portsentry/portsentry.conf
chmod 700 /usr/src/tmp/portsentry-buildroot/usr/sbin/portsentry


Edit /usr/src/tmp/portsentry-buildroot/etc/portsentry/portsentry.conf and change
your settings if you haven't already. (route, etc)


WARNING: This version and above now use a new
directory structure for storing the program
and config files /usr/src/tmp/portsentry-buildroot/etc/portsentry.
Please make sure you delete the old files when
the testing of this install is complete.


make: Leaving directory '/usr/src/RPM/BUILD/portsentry_beta'
+ /bin/install -m700 -D /usr/src/RPM/SOURCES/portsentry.init /usr/src/tmp/portsentry-buildroot/etc/rc.d/init.d/portsentry
+ touch /usr/src/tmp/portsentry-buildroot/var/log/portsentry/blocked /usr/src/tmp/portsentry-buildroot/var/log/portsentry/blocked.atcp /usr/src/tmp/portsentry-buildroot/var/log/portsentry/blocked.audp /usr/src/tmp/portsentry-buildroot/var/log/portsentry/history
+ /bin/cat
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/portsentry-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/portsentry-buildroot (binconfig,pkgconfig,libtool,desktop)
Checking contents of files in /usr/src/tmp/portsentry-buildroot/ (default)
Compressing files in /usr/src/tmp/portsentry-buildroot (auto)
Verifying ELF objects in /usr/src/tmp/portsentry-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Hardlinking identical .pyc and .pyo files
Processing files: portsentry-1.2-alt1.qa1
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.71380
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd portsentry_beta
+ DOCDIR=/usr/src/tmp/portsentry-buildroot/usr/share/doc/portsentry-1.2
+ export DOCDIR
+ rm -rf /usr/src/tmp/portsentry-buildroot/usr/share/doc/portsentry-1.2
+ /bin/mkdir -p /usr/src/tmp/portsentry-buildroot/usr/share/doc/portsentry-1.2
+ cp -prL CHANGES CREDITS LICENSE README.COMPAT README.install README.methods README.stealth ignore.csh /usr/src/tmp/portsentry-buildroot/usr/share/doc/portsentry-1.2
+ chmod -R go-w /usr/src/tmp/portsentry-buildroot/usr/share/doc/portsentry-1.2
+ chmod -R a+rX /usr/src/tmp/portsentry-buildroot/usr/share/doc/portsentry-1.2
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZgwD8V
find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jnOu82
find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services)
find-requires: FINDPACKAGE-COMMANDS: touch
Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5dHQqd
find-scriptlet-requires: FINDPACKAGE-COMMANDS: chmod chown touch
Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5HAwQq
Requires: /bin/sh, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(action), /etc/rc.d/init.d(is_yes), /etc/rc.d/init.d(msg_already_running), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(passed), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib64/ld-linux-x86-64.so.2, coreutils, libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), rtld(GNU_HASH)
Requires(interp): /bin/sh
Requires(post): /bin/sh, /usr/sbin/post_service, coreutils
Requires(preun): /bin/sh, /usr/sbin/preun_service
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.rDG4wH
Creating portsentry-debuginfo package
Processing files: portsentry-debuginfo-1.2-alt1.qa1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9jbpo1
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1nX4ro
find-requires: running scripts (debuginfo)
Requires: portsentry = 1.2-alt1.qa1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6)
Wrote: /usr/src/RPM/RPMS/x86_64/portsentry-1.2-alt1.qa1.x86_64.rpm
Wrote: /usr/src/RPM/RPMS/x86_64/portsentry-debuginfo-1.2-alt1.qa1.x86_64.rpm
3.22user 0.78system 0:10.66elapsed 37%CPU (0avgtext+0avgdata 35876maxresident)k
0inputs+0outputs (0major+301755minor)pagefaults 0swaps
4.75user 3.16system 0:16.00elapsed 49%CPU (0avgtext+0avgdata 35876maxresident)k
0inputs+0outputs (0major+499066minor)pagefaults 0swaps
--- portsentry-1.2-alt1.qa1.x86_64.rpm.repo	2013-04-15 13:37:31.000000000 +0000
+++ portsentry-1.2-alt1.qa1.x86_64.rpm.hasher	2020-06-07 01:53:45.849934269 +0000
@@ -22,3 +22,2 @@
 Requires: /bin/sh  
-Requires: /bin/sh  
 Requires: /etc/rc.d/init.d