[gogoc] Initial import (#738556).
jorti
jorti at fedoraproject.org
Tue Apr 17 14:03:21 UTC 2012
commit e1abdd254394e4e86a84e87baf8f66bee46106ad
Author: Juan Orti Alcaine <j.orti.alcaine at gmail.com>
Date: Tue Apr 17 16:03:06 2012 +0200
Initial import (#738556).
.gitignore | 1 +
gogoc-1.2-debug_info.patch | 290 +++++++++++++++++++++++++++++++++++
gogoc-1.2-dirpath.patch | 133 ++++++++++++++++
gogoc-1.2-gcc_4.6_compile_fix.patch | 11 ++
gogoc-1.2-gogoc_conf_5.patch | 12 ++
gogoc-1.2-kill_radvd.patch | 21 +++
gogoc-1.2-lp418176_client_v4.patch | 14 ++
gogoc-1.2-selinux_fix.patch | 44 ++++++
gogoc-sysconfig.conf | 5 +
gogoc-tmpfiles.conf | 1 +
gogoc.service | 14 ++
gogoc.spec | 170 ++++++++++++++++++++
sources | 1 +
13 files changed, 717 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..29658c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gogoc-1_2-RELEASE.tar.gz
diff --git a/gogoc-1.2-debug_info.patch b/gogoc-1.2-debug_info.patch
new file mode 100644
index 0000000..c47d98c
--- /dev/null
+++ b/gogoc-1.2-debug_info.patch
@@ -0,0 +1,290 @@
+diff --git gogoc-1_2-RELEASE/gogoc-config/Makefile gogoc-1_2-RELEASE/gogoc-config/Makefile
+index a43f6e5..35d9b99 100644
+--- gogoc-1_2-RELEASE/gogoc-config/Makefile
++++ gogoc-1_2-RELEASE/gogoc-config/Makefile
+@@ -30,13 +30,13 @@ RANLIB=ranlib
+ AR=ar
+
+ ifdef DEBUG
+-CXXFLAGS=-g -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DDEBUG $(HACCESS_DEFINES) $(EXTRA_CXXFLAGS)
+-CFLAGS=-g -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DDEBUG $(HACCESS_DEFINES) $(EXTRA_CFLAGS)
+-LDFLAGS=-g -L$(LIB_DIR) -L$(GOGOCPALLIB_DIR) -lgogocconfig -l$(GOGOCPALLIB) $(EXTRA_LDFLAGS)
++CXXFLAGS += -g -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DDEBUG $(HACCESS_DEFINES) $(EXTRA_CXXFLAGS)
++CFLAGS += -g -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DDEBUG $(HACCESS_DEFINES) $(EXTRA_CFLAGS)
++LDFLAGS += -g -L$(LIB_DIR) -L$(GOGOCPALLIB_DIR) -lgogocconfig -l$(GOGOCPALLIB) $(EXTRA_LDFLAGS)
+ else
+-CXXFLAGS=-O2 -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DNDEBUG $(HACCESS_DEFINES) $(EXTRA_CXXFLAGS)
+-CFLAGS=-O2 -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DNDEBUG $(HACCESS_DEFINES) $(EXTRA_CFLAGS)
+-LDFLAGS=-O2 -L$(LIB_DIR) -L$(GOGOCPALLIB_DIR) -lgogocconfig -l$(GOGOCPALLIB) $(EXTRA_LDFLAGS)
++CXXFLAGS += -O2 -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DNDEBUG $(HACCESS_DEFINES) $(EXTRA_CXXFLAGS)
++CFLAGS += -O2 -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DNDEBUG $(HACCESS_DEFINES) $(EXTRA_CFLAGS)
++LDFLAGS += -O2 -L$(LIB_DIR) -L$(GOGOCPALLIB_DIR) -lgogocconfig -l$(GOGOCPALLIB) $(EXTRA_LDFLAGS)
+ endif
+
+
+diff --git gogoc-1_2-RELEASE/gogoc-messaging/Makefile gogoc-1_2-RELEASE/gogoc-messaging/Makefile
+index eae0966..9be3be0 100644
+--- gogoc-1_2-RELEASE/gogoc-messaging/Makefile
++++ gogoc-1_2-RELEASE/gogoc-messaging/Makefile
+@@ -28,13 +28,13 @@ RANLIB=ranlib
+ AR=ar
+
+ ifdef DEBUG
+-CXXFLAGS=-g -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DDEBUG $(HACCESS_DEFINES) $(EXTRA_CXXFLAGS)
+-CFLAGS=-g -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DDEBUG $(HACCESS_DEFINES) $(EXTRA_CFLAGS)
+-LDFLAGS=-g -L$(LIB_DIR) -L$(GOGOCPALLIB_DIR) -lgogocmessaging -l$(GOGOCPALLIB) $(EXTRA_LDFLAGS)
++CXXFLAGS += -g -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DDEBUG $(HACCESS_DEFINES) $(EXTRA_CXXFLAGS)
++CFLAGS += -g -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DDEBUG $(HACCESS_DEFINES) $(EXTRA_CFLAGS)
++LDFLAGS += -g -L$(LIB_DIR) -L$(GOGOCPALLIB_DIR) -lgogocmessaging -l$(GOGOCPALLIB) $(EXTRA_LDFLAGS)
+ else
+-CXXFLAGS=-O2 -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DNDEBUG $(HACCESS_DEFINES) $(EXTRA_CXXFLAGS)
+-CFLAGS=-O2 -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DNDEBUG $(HACCESS_DEFINES) $(EXTRA_CFLAGS)
+-LDFLAGS=-O2 -L$(LIB_DIR) -L$(GOGOCPALLIB_DIR) -lgogocmessaging -l$(GOGOCPALLIB) $(EXTRA_LDFLAGS)
++CXXFLAGS += -O2 -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DNDEBUG $(HACCESS_DEFINES) $(EXTRA_CXXFLAGS)
++CFLAGS += -O2 -I. -I$(GOGOCPALINC_DIR) -I$(GOGOCPALDEFS_DIR) -Wall -D_REENTRANT -DNDEBUG $(HACCESS_DEFINES) $(EXTRA_CFLAGS)
++LDFLAGS += -O2 -L$(LIB_DIR) -L$(GOGOCPALLIB_DIR) -lgogocmessaging -l$(GOGOCPALLIB) $(EXTRA_LDFLAGS)
+ endif
+
+
+diff --git gogoc-1_2-RELEASE/gogoc-pal/platform/common/Makefile gogoc-1_2-RELEASE/gogoc-pal/platform/common/Makefile
+index 3f88b4a..365b645 100644
+--- gogoc-1_2-RELEASE/gogoc-pal/platform/common/Makefile
++++ gogoc-1_2-RELEASE/gogoc-pal/platform/common/Makefile
+@@ -38,7 +38,7 @@ platform-obj: ${OBJS}
+
+
+ ${OBJS_DIR}/pal_version.o: ${SRC_DIR}/pal_version.c ${INC_DIR}/pal_version.h
+- $(CC) ${CFLAGS} -o $@ ${SRC_DIR}/pal_version.c
++ $(CC) $(CFLAGS) -o $@ ${SRC_DIR}/pal_version.c
+
+
+ #
+diff --git gogoc-1_2-RELEASE/gogoc-tsp/platform/darwin/Makefile gogoc-1_2-RELEASE/gogoc-tsp/platform/darwin/Makefile
+index c0c87f0..a1d6a01 100644
+--- gogoc-1_2-RELEASE/gogoc-tsp/platform/darwin/Makefile
++++ gogoc-1_2-RELEASE/gogoc-tsp/platform/darwin/Makefile
+@@ -13,11 +13,11 @@
+ -include platform.mak
+
+ ifdef DEBUG
+-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
+-LDFLAGS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lstdc++ -fexceptions
++CFLAGS += -g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
++LDFLAGS += -g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lstdc++ -fexceptions
+ else
+-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
+-LDFLAGS=$(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lstdc++ -fexceptions
++CFLAGS += -O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
++LDFLAGS += $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lstdc++ -fexceptions
+ endif
+ CC=gcc
+
+diff --git gogoc-1_2-RELEASE/gogoc-tsp/platform/freebsd/Makefile gogoc-1_2-RELEASE/gogoc-tsp/platform/freebsd/Makefile
+index 8b05cc8..3569549 100644
+--- gogoc-1_2-RELEASE/gogoc-tsp/platform/freebsd/Makefile
++++ gogoc-1_2-RELEASE/gogoc-tsp/platform/freebsd/Makefile
+@@ -13,11 +13,11 @@
+ -include platform.mak
+
+ ifdef DEBUG
+-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
+-LDFLAGS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++
++CFLAGS += -g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
++LDFLAGS += -g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++
+ else
+-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
+-LDFLAGS=$(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++
++CFLAGS += -O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
++LDFLAGS += $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++
+ endif
+ CC=gcc
+
+diff --git gogoc-1_2-RELEASE/gogoc-tsp/platform/gogocpe/Makefile gogoc-1_2-RELEASE/gogoc-tsp/platform/gogocpe/Makefile
+index 43a8c43..7554b83 100644
+--- gogoc-1_2-RELEASE/gogoc-tsp/platform/gogocpe/Makefile
++++ gogoc-1_2-RELEASE/gogoc-tsp/platform/gogocpe/Makefile
+@@ -17,11 +17,11 @@
+ -include platform.mak
+
+ ifdef DEBUG
+-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
+-LDFLAGS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) $(EXTRA_LDFLAGS)
++CFLAGS += -g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
++LDFLAGS += -g $(LD_LIB_PATHS) $(LD_LIBRARIES) $(EXTRA_LDFLAGS)
+ else
+-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
+-LDFLAGS=$(LD_LIB_PATHS) $(LD_LIBRARIES) $(EXTRA_LDFLAGS)
++CFLAGS += -O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
++LDFLAGS += $(LD_LIB_PATHS) $(LD_LIBRARIES) $(EXTRA_LDFLAGS)
+ endif
+
+ OBJS=$(OBJS_DIR)/tsp_local.o \
+diff --git gogoc-1_2-RELEASE/gogoc-tsp/platform/linux/Makefile gogoc-1_2-RELEASE/gogoc-tsp/platform/linux/Makefile
+index 04d804a..e5a1d22 100644
+--- gogoc-1_2-RELEASE/gogoc-tsp/platform/linux/Makefile
++++ gogoc-1_2-RELEASE/gogoc-tsp/platform/linux/Makefile
+@@ -13,11 +13,11 @@
+ -include platform.mak
+
+ ifdef DEBUG
+-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
+-LDFLAGS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++
++CFLAGS += -g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
++LDFLAGS += -g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++
+ else
+-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
+-LDFLAGS=$(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++
++CFLAGS += -O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
++LDFLAGS += $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++
+ endif
+ CC=gcc
+
+@@ -36,7 +36,7 @@ $(OBJS_DIR)/tsp_tun.o:tsp_tun.c
+ $(CC) $(CFLAGS) -c tsp_tun.c -o $(OBJS_DIR)/tsp_tun.o
+
+ $(TARGET): $(OBJS)
+- $(CC) -o $(TARGET) $(wildcard $(OBJS_DIR)/*.o) $(LDFLAGS)
++ $(CC) $(CFLAGS) -o $(TARGET) $(wildcard $(OBJS_DIR)/*.o) $(LDFLAGS)
+
+ clean:
+ rm -f $(OBJS) $(TARGET)
+diff --git gogoc-1_2-RELEASE/gogoc-tsp/platform/netbsd/Makefile gogoc-1_2-RELEASE/gogoc-tsp/platform/netbsd/Makefile
+index f1166ca..8dbd515 100644
+--- gogoc-1_2-RELEASE/gogoc-tsp/platform/netbsd/Makefile
++++ gogoc-1_2-RELEASE/gogoc-tsp/platform/netbsd/Makefile
+@@ -13,11 +13,11 @@
+ -include platform.mak
+
+ ifdef DEBUG
+-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
+-LDFLAGS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ -lm
++CFLAGS += -g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
++LDFLAGS += -g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ -lm
+ else
+-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
+-LDFLAGS=$(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ -lm
++CFLAGS += -O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
++LDFLAGS += $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ -lm
+ endif
+ CC=gcc
+
+diff --git gogoc-1_2-RELEASE/gogoc-tsp/platform/openbsd/Makefile gogoc-1_2-RELEASE/gogoc-tsp/platform/openbsd/Makefile
+index 4c22238..c0a924f 100644
+--- gogoc-1_2-RELEASE/gogoc-tsp/platform/openbsd/Makefile
++++ gogoc-1_2-RELEASE/gogoc-tsp/platform/openbsd/Makefile
+@@ -13,11 +13,11 @@
+ -include platform.mak
+
+ ifdef DEBUG
+-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
+-LDFLAGS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ -lm
++CFLAGS += -g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
++LDFLAGSi += -g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ -lm
+ else
+-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
+-LDFLAGS=$(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ -lm
++CFLAGS += -O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
++LDFLAGS += $(LD_LIB_PATHS) $(LD_LIBRARIES) -lcrypto -lpthread -lstdc++ -lm
+ endif
+ CC=gcc
+
+diff --git gogoc-1_2-RELEASE/gogoc-tsp/platform/sunos/Makefile gogoc-1_2-RELEASE/gogoc-tsp/platform/sunos/Makefile
+index 4908f94..e4111cb 100644
+--- gogoc-1_2-RELEASE/gogoc-tsp/platform/sunos/Makefile
++++ gogoc-1_2-RELEASE/gogoc-tsp/platform/sunos/Makefile
+@@ -13,11 +13,11 @@
+ -include platform.mak
+
+ ifdef DEBUG
+-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
+-LDFLAGS=-g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lsocket -lnsl -lcrypto -lpthread -lstdc++ -L/usr/sfw/lib -L/usr/local/ssl/lib
++CFLAGS += -g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
++LDFLAGS += -g $(LD_LIB_PATHS) $(LD_LIBRARIES) -lsocket -lnsl -lcrypto -lpthread -lstdc++ -L/usr/sfw/lib -L/usr/local/ssl/lib
+ else
+-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
+-LDFLAGS=$(LD_LIB_PATHS) $(LD_LIBRARIES) -lsocket -lnsl -lcrypto -lpthread -lstdc++ -L/usr/sfw/lib -L/usr/local/ssl/lib
++CFLAGS += -O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
++LDFLAGS += $(LD_LIB_PATHS) $(LD_LIBRARIES) -lsocket -lnsl -lcrypto -lpthread -lstdc++ -L/usr/sfw/lib -L/usr/local/ssl/lib
+ endif
+ CC=gcc
+
+diff --git gogoc-1_2-RELEASE/gogoc-tsp/platform/unix-common/Makefile gogoc-1_2-RELEASE/gogoc-tsp/platform/unix-common/Makefile
+index b88152b..9f999fd 100644
+--- gogoc-1_2-RELEASE/gogoc-tsp/platform/unix-common/Makefile
++++ gogoc-1_2-RELEASE/gogoc-tsp/platform/unix-common/Makefile
+@@ -13,9 +13,9 @@
+ -include $(PLATFORM_DIR)/$(PLATFORM)/platform.mak
+
+ ifdef DEBUG
+-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -DDEBUG
++CFLAGS += -g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -DDEBUG
+ else
+-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS)
++CFLAGS += -O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS)
+ endif
+ CC=gcc
+
+diff --git gogoc-1_2-RELEASE/gogoc-tsp/src/lib/Makefile gogoc-1_2-RELEASE/gogoc-tsp/src/lib/Makefile
+index 7213cc5..2486866 100644
+--- gogoc-1_2-RELEASE/gogoc-tsp/src/lib/Makefile
++++ gogoc-1_2-RELEASE/gogoc-tsp/src/lib/Makefile
+@@ -14,9 +14,9 @@
+
+
+ ifdef DEBUG
+-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
++CFLAGS += -g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
+ else
+-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
++CFLAGS += -O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
+ endif
+ CC=gcc
+
+diff --git gogoc-1_2-RELEASE/gogoc-tsp/src/net/Makefile gogoc-1_2-RELEASE/gogoc-tsp/src/net/Makefile
+index 9b2dc42..82548c4 100644
+--- gogoc-1_2-RELEASE/gogoc-tsp/src/net/Makefile
++++ gogoc-1_2-RELEASE/gogoc-tsp/src/net/Makefile
+@@ -14,9 +14,9 @@
+
+
+ ifdef DEBUG
+-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
++CFLAGS += -g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
+ else
+-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
++CFLAGS += -O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
+ endif
+ CC=gcc
+
+diff --git gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/Makefile gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/Makefile
+index 4e378b6..9e75e01 100644
+--- gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/Makefile
++++ gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/Makefile
+@@ -14,9 +14,9 @@
+
+
+ ifdef DEBUG
+-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
++CFLAGS += -g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
+ else
+-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
++CFLAGS += -O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
+ endif
+ CC=gcc
+
+diff --git gogoc-1_2-RELEASE/gogoc-tsp/src/xml/Makefile gogoc-1_2-RELEASE/gogoc-tsp/src/xml/Makefile
+index 449fc90..40e6147 100644
+--- gogoc-1_2-RELEASE/gogoc-tsp/src/xml/Makefile
++++ gogoc-1_2-RELEASE/gogoc-tsp/src/xml/Makefile
+@@ -14,9 +14,9 @@
+
+
+ ifdef DEBUG
+-CFLAGS=-g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
++CFLAGS += -g -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT -DDEBUG
+ else
+-CFLAGS=-O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
++CFLAGS += -O2 -Wall $(CC_INC_PATHS) $(PLATFORM_CFLAGS) -D_REENTRANT
+ endif
+ CC=gcc
+
diff --git a/gogoc-1.2-dirpath.patch b/gogoc-1.2-dirpath.patch
new file mode 100644
index 0000000..1f6a253
--- /dev/null
+++ b/gogoc-1.2-dirpath.patch
@@ -0,0 +1,133 @@
+diff -up gogoc-1_2-RELEASE/gogoc-tsp/Makefile.dirpath gogoc-1_2-RELEASE/gogoc-tsp/Makefile
+--- gogoc-1_2-RELEASE/gogoc-tsp/Makefile.dirpath
++++ gogoc-1_2-RELEASE/gogoc-tsp/Makefile
+@@ -47,8 +47,10 @@ SUPPORTED_PLATFORMS=linux netbsd freebsd openbsd darwin sunos gogocpe
+
+ INSTALL_DIR :=$(installdir)
+ INSTALL_BIN :=$(INSTALL_DIR)/bin
+-INSTALL_MAN :=$(INSTALL_DIR)/man
+-INSTALL_TEMPL :=$(INSTALL_DIR)/template
++INSTALL_SHARE :=$(INSTALL_DIR)/share
++INSTALL_MAN :=$(INSTALL_DIR)/share/man
++INSTALL_TEMPL :=$(INSTALL_DIR)/share/gogoc/template
++INSTALL_CFG :=$(INSTALL_DIR)/../etc/gogoc
+
+
+ SUBDIRS=$(PWD)/src/lib \
+@@ -168,15 +170,16 @@ install: check-gogoc-install all
+ @mkdir -p $(INSTALL_BIN)
+ @mkdir -p $(INSTALL_MAN)
+ @mkdir -p $(INSTALL_TEMPL)
++ @mkdir -p $(INSTALL_CFG)
+
+ @for dir in ${SUBDIRS}; do \
+ $(MAKE) -C $$dir install || exit 1; \
+ done
+
+ @cp $(TARGET) $(INSTALL_BIN)
+- @cp $(BIN_DIR)/gogoc.conf.sample $(INSTALL_BIN)
+- @[ -f $(INSTALL_BIN)/gogoc.conf ] || { \
+- cp $(INSTALL_BIN)/gogoc.conf.sample $(INSTALL_BIN)/gogoc.conf; \
++ @cp $(BIN_DIR)/gogoc.conf.sample $(INSTALL_CFG)
++ @[ -f $(INSTALL_CFG)/gogoc.conf ] || { \
++ cp $(INSTALL_CFG)/gogoc.conf.sample $(INSTALL_CFG)/gogoc.conf; \
+ }
+
+
+diff -up gogoc-1_2-RELEASE/gogoc-tsp/conf/gogoc.conf.in.dirpath gogoc-1_2-RELEASE/gogoc-tsp/conf/gogoc.conf.in
+--- gogoc-1_2-RELEASE/gogoc-tsp/conf/gogoc.conf.in.dirpath
++++ gogoc-1_2-RELEASE/gogoc-tsp/conf/gogoc.conf.in
+@@ -120,7 +120,7 @@ dns_server=
+ # Directory where the gogoCLIENT will be installed. This value has been
+ # set during installation.
+ #
+-gogoc_dir=@conf_gogoc_dir@
++gogoc_dir=/etc/gogoc
+
+ #
+ # Auto-Retry Connect, Retry Delay and Max Retry Delay:
+@@ -224,7 +224,7 @@ proxy_client=no
+ #
+ # broker_list=<file_name>
+ #
+-broker_list=tsp-broker-list.txt
++broker_list=/var/lib/gogoc/tsp-broker-list.txt
+
+ #
+ # Last Server Used File Name:
+@@ -234,7 +234,7 @@ broker_list=tsp-broker-list.txt
+ #
+ # last_server=<file_name>
+ #
+-last_server=tsp-last-server.txt
++last_server=/var/lib/gogoc/tsp-last-server.txt
+
+ #
+ # Always Use Last Known Working Server:
+@@ -294,7 +294,7 @@ always_use_same_server=no
+ #
+ # log_filename=<file_name>
+ #
+-log_filename=gogoc.log
++log_filename=/var/log/gogoc/gogoc.log
+
+ #
+ # Log File Rotation:
+diff -up gogoc-1_2-RELEASE/gogoc-tsp/platform/freebsd/tsp_local.c.dirpath gogoc-1_2-RELEASE/gogoc-tsp/platform/freebsd/tsp_local.c
+--- gogoc-1_2-RELEASE/gogoc-tsp/platform/freebsd/tsp_local.c.dirpath
++++ gogoc-1_2-RELEASE/gogoc-tsp/platform/freebsd/tsp_local.c
+@@ -34,11 +34,11 @@ Copyright (c) 2001-2007 gogo6 Inc. All rights reserved.
+ #define IFNAMSIZ 16 // from net/if.h
+
+
+-char *FileName = "gogoc.conf";
++char *FileName = "/etc/gogoc/gogoc.conf";
+ char *ScriptInterpretor = "/bin/sh";
+ char *ScriptExtension = "sh";
+ char *ScriptDir = NULL;
+-char *TspHomeDir = "/usr/local/etc/gogoc";
++char *TspHomeDir = "/usr/share/gogoc";
+ char DirSeparator = '/';
+
+ int indSigHUP = 0; // Set to 1 when HUP signal is trapped.
+diff -up gogoc-1_2-RELEASE/gogoc-tsp/platform/linux/tsp_local.c.dirpath gogoc-1_2-RELEASE/gogoc-tsp/platform/linux/tsp_local.c
+--- gogoc-1_2-RELEASE/gogoc-tsp/platform/linux/tsp_local.c.dirpath
++++ gogoc-1_2-RELEASE/gogoc-tsp/platform/linux/tsp_local.c
+@@ -33,11 +33,11 @@ This source code copyright (c) gogo6 Inc. 2002-2007.
+
+ /* these globals are defined by US used by alot of things in */
+
+-char *FileName = "gogoc.conf";
++char *FileName = "/etc/gogoc/gogoc.conf";
+ char *ScriptInterpretor = "/bin/sh";
+ char *ScriptExtension = "sh";
+ char *ScriptDir = NULL;
+-char *TspHomeDir = "/usr/local/etc/gogoc";
++char *TspHomeDir = "/usr/share/gogoc";
+ char DirSeparator = '/';
+
+ int indSigHUP = 0; // Set to 1 when HUP signal is trapped.
+diff -up gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_auth_passdss.c.dirpath gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_auth_passdss.c
+--- gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_auth_passdss.c.dirpath
++++ gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_auth_passdss.c
+@@ -31,7 +31,7 @@ Copyright (c) 2001-2007 gogo6 Inc. All rights reserved.
+
+ #define TSP_AUTH_PASSDSS_STRING "PASSDSS-3DES-1"
+ #define TSP_AUTH_PASSDSS_BUFFERSIZE 4096
+-#define TSPC_DSA_KEYFILE "gogockeys.pub"
++#define TSPC_DSA_KEYFILE "/var/lib/gogoc/gogockeys.pub"
+
+ #if defined(WIN32) && !defined(WINCE)
+ extern BOOL IsService; // Declared in winpc/tsp_local.c
+diff -up gogoc-1_2-RELEASE/gogoc-tsp/template/linux.sh.dirpath gogoc-1_2-RELEASE/gogoc-tsp/template/linux.sh
+--- gogoc-1_2-RELEASE/gogoc-tsp/template/linux.sh.dirpath
++++ gogoc-1_2-RELEASE/gogoc-tsp/template/linux.sh
+@@ -9,6 +9,8 @@
+ # Note: IPV6 support and tun Support must be enabled before calling this script.
+ #
+
++# Changed here for Debian systems - used for radvd config file only
++TSP_HOME_DIR=/var/run/gogoc
+
+ LANGUAGE=C
+
diff --git a/gogoc-1.2-gcc_4.6_compile_fix.patch b/gogoc-1.2-gcc_4.6_compile_fix.patch
new file mode 100644
index 0000000..637243c
--- /dev/null
+++ b/gogoc-1.2-gcc_4.6_compile_fix.patch
@@ -0,0 +1,11 @@
+diff -up gogoc-1_2-RELEASE/gogoc-messaging/gogocmessaging/message.h.gcc_4.6_compile_fix gogoc-1_2-RELEASE/gogoc-messaging/gogocmessaging/message.h
+--- gogoc-1_2-RELEASE/gogoc-messaging/gogocmessaging/message.h.gcc_4.6_compile_fix
++++ gogoc-1_2-RELEASE/gogoc-messaging/gogocmessaging/message.h
+@@ -22,6 +22,7 @@
+
+
+ #include <pal.h>
++#include <stddef.h>
+
+
+ // Undefine Windows Win32 API PostMessage
diff --git a/gogoc-1.2-gogoc_conf_5.patch b/gogoc-1.2-gogoc_conf_5.patch
new file mode 100644
index 0000000..6135125
--- /dev/null
+++ b/gogoc-1.2-gogoc_conf_5.patch
@@ -0,0 +1,12 @@
+diff -up gogoc-1_2-RELEASE/gogoc-tsp/man/man5/gogoc.conf.5.gogoc_conf_5 gogoc-1_2-RELEASE/gogoc-tsp/man/man5/gogoc.conf.5
+--- gogoc-1_2-RELEASE/gogoc-tsp/man/man5/gogoc.conf.5.gogoc_conf_5
++++ gogoc-1_2-RELEASE/gogoc-tsp/man/man5/gogoc.conf.5
+@@ -327,7 +327,7 @@ Default: yes
+ .It Sy log_rotation_size
+ The `log_rotation_size' directive specifies the maximum size a log file may
+ reach before rotation occurs (if rotation has been enabled via the
+-'log_rotation' directive).
++`log_rotation' directive).
+ .Pp
+ The value is expressed in kilobytes.
+ .Pp
diff --git a/gogoc-1.2-kill_radvd.patch b/gogoc-1.2-kill_radvd.patch
new file mode 100644
index 0000000..c8e4993
--- /dev/null
+++ b/gogoc-1.2-kill_radvd.patch
@@ -0,0 +1,21 @@
+diff -up gogoc-1_2-RELEASE/gogoc-tsp/template/linux.sh.kill_radvd gogoc-1_2-RELEASE/gogoc-tsp/template/linux.sh
+--- gogoc-1_2-RELEASE/gogoc-tsp/template/linux.sh.kill_radvd
++++ gogoc-1_2-RELEASE/gogoc-tsp/template/linux.sh
+@@ -27,9 +27,14 @@ KillProcess()
+ fi
+ PID=`ps axww | grep $1 | grep -v grep | awk '{ print $1;}'`
+ echo $PID
+- if [ ! -z $PID ]; then
+- kill $PID
+- fi
++
++ # This check doesn't work in Fedora, I don't know why
++ # if [ ! -z $PID ]; then
++ for i in $PID
++ do
++ kill $i
++ done
++ # fi
+ }
+
+ Display()
diff --git a/gogoc-1.2-lp418176_client_v4.patch b/gogoc-1.2-lp418176_client_v4.patch
new file mode 100644
index 0000000..a8f878d
--- /dev/null
+++ b/gogoc-1.2-lp418176_client_v4.patch
@@ -0,0 +1,14 @@
+Author: Philippe Gauthier <philippe.gauthier at deuxpi.ca>
+Description: Fix crash on 64-bit architectures occuring when the client_v4 option is not set to "auto".
+diff -up gogoc-1_2-RELEASE/gogoc-config/src/gogocvalidation.cc.lp418176_client_v4 gogoc-1_2-RELEASE/gogoc-config/src/gogocvalidation.cc
+--- gogoc-1_2-RELEASE/gogoc-config/src/gogocvalidation.cc.lp418176_client_v4
++++ gogoc-1_2-RELEASE/gogoc-config/src/gogocvalidation.cc
+@@ -512,7 +512,7 @@
+ if( sClientV4 != STR_AUTO )
+ {
+ struct in_addr address;
+- unsigned long net;
++ in_addr_t net;
+
+ net = inet_addr( sClientV4.c_str() );
+ memcpy(&address, &net, sizeof(net));
diff --git a/gogoc-1.2-selinux_fix.patch b/gogoc-1.2-selinux_fix.patch
new file mode 100644
index 0000000..d8ca193
--- /dev/null
+++ b/gogoc-1.2-selinux_fix.patch
@@ -0,0 +1,44 @@
+diff -up gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_setup.c.selinux_fix gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_setup.c
+--- gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_setup.c.selinux_fix
++++ gogoc-1_2-RELEASE/gogoc-tsp/src/tsp/tsp_setup.c
+@@ -37,14 +37,17 @@ Copyright (c) 2001-2007 gogo6 Inc. All rights reserved.
+ sint32_t execScript( const char *cmd )
+ {
+ char buf[1024];
+- FILE* f_log;
++// FILE* f_log;
+ sint32_t retVal;
+
+ // Run the command.
+ memset( buf, 0, sizeof(buf) );
+- pal_snprintf( buf, sizeof(buf), "%s > %s", cmd, SCRIPT_TMP_FILE );
++ pal_snprintf( buf, sizeof(buf), "%s", cmd );
+ retVal = pal_system( buf );
+
++/* Don't log the result of the command because this way
++ * causes a SELinux alarm in Fedora
++
+ // Open resulting output file.
+ f_log = fopen( SCRIPT_TMP_FILE, "r" );
+ if( f_log == NULL )
+@@ -66,6 +69,7 @@ sint32_t execScript( const char *cmd )
+
+ // Remove command output.
+ pal_unlink( SCRIPT_TMP_FILE );
++*/
+
+ return retVal;
+ }
+diff -up gogoc-1_2-RELEASE/gogoc-tsp/template/linux.sh.selinux_fix gogoc-1_2-RELEASE/gogoc-tsp/template/linux.sh
+--- gogoc-1_2-RELEASE/gogoc-tsp/template/linux.sh.selinux_fix
++++ gogoc-1_2-RELEASE/gogoc-tsp/template/linux.sh
+@@ -266,6 +266,9 @@ interface $TSP_HOME_INTERFACE
+ };
+ EOF
+
++ # Change the SELinux context of the file so the radvd daemon can read it
++ /sbin/restorecon $rtadvdconfigfile
++
+ # Start the radvd daemon.
+ Display 1 "Starting radvd: $rtadvd -u radvd -C $rtadvdconfigfile"
+ Exec $rtadvd -u radvd -p $rtadvd_pid -C $rtadvdconfigfile
diff --git a/gogoc-sysconfig.conf b/gogoc-sysconfig.conf
new file mode 100644
index 0000000..cadc7e5
--- /dev/null
+++ b/gogoc-sysconfig.conf
@@ -0,0 +1,5 @@
+# Add command line options to the gogoc daemon
+#
+# Add "-y" to accept automatically the server keys,
+# otherwise you will have to add them to /var/lib/gogoc/gogockeys.pub
+GOGOC_OPTS=
diff --git a/gogoc-tmpfiles.conf b/gogoc-tmpfiles.conf
new file mode 100644
index 0000000..8074528
--- /dev/null
+++ b/gogoc-tmpfiles.conf
@@ -0,0 +1 @@
+d /var/run/gogoc 755 root root
diff --git a/gogoc.service b/gogoc.service
new file mode 100644
index 0000000..271d28d
--- /dev/null
+++ b/gogoc.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Freenet6.net tunnel client to IPv6
+After=network.target
+
+[Service]
+WorkingDirectory=/var/lib/gogoc
+Type=simple
+EnvironmentFile=-/etc/sysconfig/gogoc
+ExecStart=/usr/bin/gogoc -f /etc/gogoc/gogoc.conf $GOGOC_OPTS
+KillSignal=SIGHUP
+KillMode=process
+
+[Install]
+WantedBy=multi-user.target
diff --git a/gogoc.spec b/gogoc.spec
new file mode 100644
index 0000000..b220058
--- /dev/null
+++ b/gogoc.spec
@@ -0,0 +1,170 @@
+%define _hardened_build 1
+%global distver 1_2-RELEASE
+
+Name: gogoc
+Version: 1.2
+Release: 15%{?dist}
+Summary: IPv6 TSP client for gogo6
+
+Group: System Environment/Daemons
+# The entire source code is BSD except gogoc-tsp/include/net_tcp6.c
+License: BSD and GPLv2
+URL: http://gogonet.gogo6.com/page/freenet6-services
+Source0: http://gogo6.com/downloads/%{name}-%{distver}.tar.gz
+Source1: %{name}.service
+Source2: %{name}-tmpfiles.conf
+Source3: %{name}-sysconfig.conf
+Patch1: %{name}-%{version}-dirpath.patch
+Patch2: %{name}-%{version}-gcc_4.6_compile_fix.patch
+Patch3: %{name}-%{version}-gogoc_conf_5.patch
+# Patch4: https://bugs.launchpad.net/ubuntu/+source/gw6c/+bug/418176
+Patch4: %{name}-%{version}-lp418176_client_v4.patch
+Patch5: %{name}-%{version}-selinux_fix.patch
+Patch6: %{name}-%{version}-kill_radvd.patch
+Patch7: %{name}-%{version}-debug_info.patch
+
+BuildRequires: kernel-headers
+BuildRequires: openssl-devel
+BuildRequires: systemd-units
+
+Requires: radvd
+Requires(post): systemd-units
+Requires(post): policycoreutils
+Requires(preun): systemd-units
+Requires(postun): systemd-units
+Requires(postun): policycoreutils
+
+%description
+TSP is a control protocol used to establish and maintain static tunnels.
+The gogoCLIENT is used on the host computer to connect to a tunnel broker
+using the TSP protocol and to get the information for its IPv6 tunnel.
+When it receives the information for the tunnel, the gogoCLIENT creates the
+static tunnel on its operating system.
+You can setup a dynamic tunnel anonymously, but if you want a static prefix
+you need an account in Freenet6 http://gogonet.gogo6.com/page/freenet6-account
+
+%prep
+%setup -q -n %{name}-%{distver}
+%patch1 -p1 -b .dirpath
+%patch2 -p1 -b .gcc_4.6_compile_fix
+%patch3 -p1 -b .gogoc_conf_5
+%patch4 -p1 -b .lp418176_client_v4
+%patch5 -p1 -b .selinux_fix
+%patch6 -p1 -b .kill_radvd
+%patch7 -p1
+
+%build
+CFLAGS=$RPM_OPT_FLAGS; export CFLAGS
+CXXFLAGS=$RPM_OPT_FLAGS; export CXXFLAGS
+make -j1 all
+
+%install
+make installdir=%{buildroot}%{_prefix} install
+# Directories that need to be packaged
+install -d %{buildroot}%{_datadir} \
+ %{buildroot}%{_sysconfdir}/sysconfig \
+ %{buildroot}%{_sysconfdir}/%{name}/template \
+ %{buildroot}%{_unitdir} \
+ %{buildroot}%{_sharedstatedir}/%{name} \
+ %{buildroot}%{_localstatedir}/run/%{name} \
+ %{buildroot}%{_localstatedir}/log/%{name}
+# Systemd unit file
+install -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}
+# Copy the Linux shell script to where it's needed
+cp -p %{buildroot}%{_datadir}/%{name}/template/linux.sh %{buildroot}%{_sysconfdir}/%{name}/template/linux.sh
+# Ghost files
+touch %{buildroot}%{_sharedstatedir}/%{name}/gogockeys.pub
+touch %{buildroot}%{_sharedstatedir}/%{name}/tsp-last-server.txt
+touch %{buildroot}%{_sharedstatedir}/%{name}/tsp-broker-list.txt
+touch %{buildroot}%{_localstatedir}/run/%{name}/%{name}-rtadvd.conf
+# Remove unneeded files
+rm -f %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf.sample
+rm -rf %{buildroot}%{_datadir}/%{name}
+# The config file can contain passwords, protect it
+chmod 0640 %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
+# Tmpfiles
+mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
+install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf
+# Sysconfig file for additional command line arguments
+install -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/%{name}
+
+%post
+semanage fcontext -a -t radvd_etc_t '%{_localstatedir}/run/%{name}/%{name}-rtadvd.conf' 2>/dev/null || :
+if [ $1 -eq 1 ] ; then
+ # Initial installation
+ /bin/systemctl daemon-reload >/dev/null 2>&1 || :
+fi
+
+%preun
+if [ $1 -eq 0 ] ; then
+ # Package removal, not upgrade
+ /bin/systemctl --no-reload disable %{name}.service > /dev/null 2>&1 || :
+ /bin/systemctl stop %{name}.service > /dev/null 2>&1 || :
+fi
+
+%postun
+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+if [ $1 -ge 1 ] ; then
+ # Package upgrade, not uninstall
+ /bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || :
+fi
+if [ $1 -eq 0 ] ; then # final removal
+ semanage fcontext -d -t radvd_etc_t '%{_localstatedir}/run/%{name}/%{name}-rtadvd.conf' 2>/dev/null || :
+fi
+
+
+%files
+%doc CLIENT-LICENSE.TXT README
+%{_mandir}/man5/%{name}.conf.5.gz
+%{_mandir}/man8/%{name}.8.gz
+%config(noreplace) %{_sysconfdir}/%{name}
+%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
+%config(noreplace) %{_sysconfdir}/tmpfiles.d/%{name}.conf
+%dir %{_sharedstatedir}/%{name}
+%ghost %{_sharedstatedir}/%{name}/tsp-last-server.txt
+%ghost %{_sharedstatedir}/%{name}/gogockeys.pub
+%ghost %{_sharedstatedir}/%{name}/tsp-broker-list.txt
+%dir %{_localstatedir}/run/%{name}
+%ghost %{_localstatedir}/run/%{name}/%{name}-rtadvd.conf
+%dir %{_localstatedir}/log/%{name}
+%{_bindir}/%{name}
+%{_unitdir}/%{name}.service
+
+%changelog
+* Mon Apr 16 2012 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-15
+- Hardened build
+- Remove unnecesary datadir
+- Add missing systemd-units build dependency
+
+* Mon Apr 16 2012 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-14
+- Description updated
+- Change variable to global
+- Don't remove log files while uninstalling
+
+* Tue Feb 14 2012 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-13
+- Fix tmpfiles directory creation
+
+* Mon Feb 13 2012 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-12
+- Revert FSF address patch
+- Update license information
+
+* Mon Feb 13 2012 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-11
+- Fix FSF postal address
+
+* Mon Feb 13 2012 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-10
+- Honor RPM_OPT_FLAGS
+
+* Thu Nov 24 2011 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-9
+- Add tmpfiles directory creation
+
+* Tue Sep 20 2011 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-8
+- fixed debug symbols
+
+* Mon Sep 19 2011 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-7
+- spec file clean up
+- systemd service fix
+
+* Wed Sep 14 2011 Juan Orti Alcaine <j.orti.alcaine at gmail.com> - 1.2-6
+- add Debian patches
+- add systemd service
+- license changed to BSD
diff --git a/sources b/sources
index e69de29..233d697 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+41177ed683cf511cc206c7782c37baa9 gogoc-1_2-RELEASE.tar.gz
More information about the scm-commits
mailing list